Sample project created by the gwt maven plugin archetype.
This projects showcases the classpath issue with tomcat-jdbc/ tomcat-juli and the old jsp dependency introduced by the gwt jetty version.
016-12-19 11:56:49.606:WARN:oejuc.AbstractLifeCycle:main: FAILED org.eclipse.jetty.server.Server@7c1eb0b: java.util.ServiceConfigurationError: org.apache.juli.logging.Log: Provider org.eclipse.jetty.apache.jsp.JuliLog not a subtype java.util.ServiceConfigurationError: org.apache.juli.logging.Log: Provider org.eclipse.jetty.apache.jsp.JuliLog not a subtype
The tomcat jdbc datasource is started in the servlet init. The jsp depencency is excluded in the pom. Intellij still includes the dependency into the classpath when starting the project...
This is the run command generated by ij:
/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/bin/java -Dapple.awt.UIElement=true -Xmx1024m -Didea.launcher.port=7532 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA 2016.3 EAP.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/java/m2-local-repository/com/google/gwt/gwt-codeserver/2.8.0/gwt-codeserver-2.8.0.jar:/Users/pgtaboada/git/x.y.z-maven/src/main/java:/Users/pgtaboada/git/x.y.z-maven/src/main/resources:/Users/pgtaboada/git/x.y.z-maven/target/generated-sources/gwt:/java/m2-local-repository/com/google/jsinterop/jsinterop-annotations/1.0.1/jsinterop-annotations-1.0.1-sources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/lib/tools.jar:/Users/pgtaboada/git/x.y.z-maven/target/test-classes:/Users/pgtaboada/git/x.y.z-maven/target/z-1.0-SNAPSHOT/WEB-INF/classes:/java/m2-local-repository/com/google/gwt/gwt-servlet/2.8.0/gwt-servlet-2.8.0.jar:/java/m2-local-repository/com/google/gwt/gwt-user/2.8.0/gwt-user-2.8.0.jar:/java/m2-local-repository/com/google/jsinterop/jsinterop-annotations/1.0.1/jsinterop-annotations-1.0.1.jar:/java/m2-local-repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA.jar:/java/m2-local-repository/javax/validation/validation-api/1.0.0.GA/validation-api-1.0.0.GA-sources.jar:/java/m2-local-repository/javax/servlet/javax.servlet-api/3.1.0/javax.servlet-api-3.1.0.jar:/java/m2-local-repository/org/w3c/css/sac/1.3/sac-1.3.jar:/java/m2-local-repository/com/google/gwt/gwt-dev/2.8.0/gwt-dev-2.8.0.jar:/java/m2-local-repository/com/google/code/gson/gson/2.6.2/gson-2.6.2.jar:/java/m2-local-repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar:/java/m2-local-repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar:/java/m2-local-repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar:/java/m2-local-repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar:/java/m2-local-repository/colt/colt/1.2.0/colt-1.2.0.jar:/java/m2-local-repository/ant/ant/1.6.5/ant-1.6.5.jar:/java/m2-local-repository/commons-collections/commons-collections/3.2.2/commons-collections-3.2.2.jar:/java/m2-local-repository/commons-io/commons-io/2.4/commons-io-2.4.jar:/java/m2-local-repository/com/ibm/icu/icu4j/50.1.1/icu4j-50.1.1.jar:/java/m2-local-repository/tapestry/tapestry/4.0.2/tapestry-4.0.2.jar:/java/m2-local-repository/net/sourceforge/htmlunit/htmlunit/2.19/htmlunit-2.19.jar:/java/m2-local-repository/xalan/xalan/2.7.2/xalan-2.7.2.jar:/java/m2-local-repository/xalan/serializer/2.7.2/serializer-2.7.2.jar:/java/m2-local-repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar:/java/m2-local-repository/org/apache/httpcomponents/httpclient/4.5.1/httpclient-4.5.1.jar:/java/m2-local-repository/org/apache/httpcomponents/httpcore/4.4.3/httpcore-4.4.3.jar:/java/m2-local-repository/org/apache/httpcomponents/httpmime/4.5.1/httpmime-4.5.1.jar:/java/m2-local-repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar:/java/m2-local-repository/net/sourceforge/htmlunit/htmlunit-core-js/2.17/htmlunit-core-js-2.17.jar:/java/m2-local-repository/xerces/xercesImpl/2.11.0/xercesImpl-2.11.0.jar:/java/m2-local-repository/xml-apis/xml-apis/1.4.01/xml-apis-1.4.01.jar:/java/m2-local-repository/net/sourceforge/nekohtml/nekohtml/1.9.22/nekohtml-1.9.22.jar:/java/m2-local-repository/net/sourceforge/cssparser/cssparser/0.9.18/cssparser-0.9.18.jar:/java/m2-local-repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar:/java/m2-local-repository/org/eclipse/jetty/websocket/websocket-client/9.2.13.v20150730/websocket-client-9.2.13.v20150730.jar:/java/m2-local-repository/org/eclipse/jetty/websocket/websocket-common/9.2.14.v20151106/websocket-common-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/websocket/websocket-api/9.2.14.v20151106/websocket-api-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-webapp/9.2.14.v20151106/jetty-webapp-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-xml/9.2.14.v20151106/jetty-xml-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-servlet/9.2.14.v20151106/jetty-servlet-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-security/9.2.14.v20151106/jetty-security-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-server/9.2.14.v20151106/jetty-server-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-servlets/9.2.14.v20151106/jetty-servlets-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-continuation/9.2.14.v20151106/jetty-continuation-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-http/9.2.14.v20151106/jetty-http-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-util/9.2.14.v20151106/jetty-util-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-io/9.2.14.v20151106/jetty-io-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-annotations/9.2.14.v20151106/jetty-annotations-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-plus/9.2.14.v20151106/jetty-plus-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/jetty-jndi/9.2.14.v20151106/jetty-jndi-9.2.14.v20151106.jar:/java/m2-local-repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar:/java/m2-local-repository/junit/junit/4.11/junit-4.11.jar:/java/m2-local-repository/org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar:/java/m2-local-repository/org/apache/tomcat/tomcat-jdbc/8.0.33/tomcat-jdbc-8.0.33.jar:/java/m2-local-repository/org/apache/tomcat/tomcat-juli/8.0.33/tomcat-juli-8.0.33.jar:/java/m2-local-repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final-sources.jar:/java/m2-local-repository/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar:/java/m2-local-repository/org/eclipse/jetty/websocket/websocket-common/9.2.13.v20150730/websocket-common-9.2.13.v20150730.jar:/java/m2-local-repository/org/eclipse/jetty/websocket/websocket-api/9.2.13.v20150730/websocket-api-9.2.13.v20150730.jar:/java/m2-local-repository/org/eclipse/jetty/apache-jsp/9.2.14.v20151106/apache-jsp-9.2.14.v20151106.jar:/java/m2-local-repository/org/eclipse/jetty/toolchain/jetty-schemas/3.1.M0/jetty-schemas-3.1.M0.jar:/java/m2-local-repository/org/mortbay/jasper/apache-jsp/8.0.9.M3/apache-jsp-8.0.9.M3.jar:/java/m2-local-repository/org/mortbay/jasper/apache-el/8.0.9.M3/apache-el-8.0.9.M3.jar:/Applications/IntelliJ IDEA 2016.3 EAP.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain com.google.gwt.dev.DevMode -superDevMode -war /Users/pgtaboada/Library/Caches/IntelliJIdea2016.3/gwt/z.e3149cd8/z.8973145d/run/www -remoteUI 7909:IntelliJIdea -startupUrl Y.html x.y.Y