I am trying to run my war file using xsbt-web-plugin
. My war itself does not contain tomcat-jdbc-pool
jar and javax-servlet-api
. I tried using container
configuration. But sbt complains configuration does not exist.
If I use provided
configuration, webapp-runner
fails.
I am sure I am missing something. But unable to figure it out.
WARNING: Failed to register in JMX: [javax.naming.NamingException: Could not load resource factory class [Root exception is java.lang.ClassNotFoundException: org.apache.tomcat.jdbc.pool.DataSourceFactory]]