org.eclipse.jetty.apache.jsp.JuliLog not a subtype

3,735 views
Skip to first unread message

Gordon Vidaver

unread,
Oct 28, 2016, 2:02:44 PM10/28/16
to GWT Contributors
Hi,
 I've seen some comment on this but I'm trying to launch a gwt project from Jetbrains IDEA and I'm seeing the org.eclipse.jetty.apache.jsp.JuliLog not a subtype message as below.

 I'm trying to use gwt 2.8.0 but I'm not using maven to manage dependencies.

 Any suggestions on how to avoid this or debug it?  

 Thanks,
 Gordon

[Loaded com.google.gwt.dev.shell.jetty.JettyLauncher$ClientAuth from file:/Users/go22670/master/netPron2/gwt/gwt-dev.jar]
[main] WARN org.eclipse.jetty.util.component.AbstractLifeCycle - FAILED c.g.g.d.s.j.WebAppContextWithReload@2d408556{/,file:/Users/go22670/Library/Caches/IntelliJIdea2016.2/gwt/netPron2.a7aa86c3/netPron2.8dfd5ffa/run/www/,STARTING}{/Users/go22670/Library/Caches/IntelliJIdea2016.2/gwt/netPron2.a7aa86c3/netPron2.8dfd5ffa/run/www}: 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
[Loaded java.lang.Throwable$PrintStreamOrWriter from /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/rt.jar]
[Loaded java.lang.Throwable$WrappedPrintStream from /Library/Java/JavaVirtualMachines/jdk1.8.0_111.jdk/Contents/Home/jre/lib/rt.jar]
at java.util.ServiceLoader.fail(ServiceLoader.java:239)
at java.util.ServiceLoader.access$300(ServiceLoader.java:185)
at java.util.ServiceLoader$LazyIterator.nextService(ServiceLoader.java:376)
at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:404)
at java.util.ServiceLoader$1.next(ServiceLoader.java:480)
at org.apache.juli.logging.LogFactory.<init>(LogFactory.java:78)
at org.apache.juli.logging.LogFactory.<clinit>(LogFactory.java:66)
at org.apache.jasper.servlet.JspServlet.<init>(JspServlet.java:69)
at org.eclipse.jetty.jsp.JettyJspServlet.<init>(JettyJspServlet.java:39)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
at java.lang.Class.newInstance(Class.java:442)
at org.eclipse.jetty.server.handler.ContextHandler$Context.createInstance(ContextHandler.java:2372)
at org.eclipse.jetty.servlet.ServletContextHandler$Context.createServlet(ServletContextHandler.java:1166)
at org.eclipse.jetty.servlet.ServletHolder.newInstance(ServletHolder.java:1207)
at org.eclipse.jetty.servlet.ServletHolder.initServlet(ServletHolder.java:588)
at org.eclipse.jetty.servlet.ServletHolder.initialize(ServletHolder.java:396)
at org.eclipse.jetty.servlet.ServletHandler.initialize(ServletHandler.java:871)
at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:298)
at org.eclipse.jetty.webapp.WebAppContext.startWebapp(WebAppContext.java:1349)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1342)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:550)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:140)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:759)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:634)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:923)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:706)
at com.google.gwt.dev.DevMode.main(DevMode.java:430)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)

Thomas Broyer

unread,
Oct 28, 2016, 2:23:28 PM10/28/16
to GWT Contributors
Make sure you don't have a JAR in your WEB-INF/lib that provides the org.apache.juli.logging.Log class (that could be gwt-dev.jar, or some Apache JAR)

Bogdan Petridean

unread,
Jan 24, 2017, 4:43:09 AM1/24/17
to GWT Contributors
I am experiencing the same issue, but I am using Eclipse Neon IDE.
I cannot figure out which is the problematic dependency....

Bogdan Petridean

unread,
Jan 25, 2017, 9:52:34 AM1/25/17
to GWT Contributors
Fixed it!

ca...@linxa.com

unread,
Jan 27, 2017, 9:04:43 AM1/27/17
to GWT Contributors
Hey I am experiencing the same issue these days and cannot figure it out. Could you please tell the solution out here? 

Thomas Broyer

unread,
Feb 1, 2017, 5:14:25 AM2/1/17
to GWT Contributors
FWIW: https://youtrack.jetbrains.com/issue/IDEA-165234
Fixed in 2016.3.4 released today.

Brandon Donnelson

unread,
Feb 28, 2017, 5:03:41 PM2/28/17
to GWT Contributors
Do you think I could exclude something from gwt-dev in the dev mode launcher classpath and fix this in Eclipse? 

Matteo Galletti

unread,
Jun 23, 2017, 5:40:37 PM6/23/17
to GWT Contributors
How? Please share your solution with us.
Reply all
Reply to author
Forward
0 new messages