Monday, July 2, 2018

Re: After upgrading to GWT 2.8.2: Exception "ServiceConfigurationError: org.apache.juli.logging.Log: Provider org.eclipse.jetty.apache.jsp.JuliLog not a subtype" during Super Dev Mode

Hello Thomas,

you answer is much appreciated, thank you!

Am Sonntag, 1. Juli 2018 21:32:56 UTC+2 schrieb Thomas Broyer:
In the logs, do you see an entry with "Server […] could not be found in the web app, but was found on the system classpath" and then "Adding classpath entry '[…]gwt-dev.jar' to the web app classpath for this session" ?

unfortunately, I don't see any of that line. I set the log level to "TRACE" for "" via

<arg value="-logLevel" />
<arg value="TRACE" />

but the only line containing the word "classpath" is 

[java] 2018-07-02 13:18:18.743:INFO:/:main: No Spring WebApplicationInitializer types detected on classpath

but I think this has nothing to do with the problem.

That would in general mean that you're missing a JAR in your WEB-INF/lib for the given class or resource. But there can be false positives unfortunately, and no way to change GWT's behavior (which has always been that way, but in the mean time we updated Jetty which changed quite a few things here).

Ok I understand. Until now, and still, I think the reason for the exception is, that there is more than one implementation of "org.eclipse.jetty.apache.jsp.JuliLog", or the wrong implementation for "org.apache.juli.logging.Log", I'm not exactly sure how to interpret the exception.

The recommended setup with GWT 2.7+ is to run your webapp out of a "standard" server (Jetty, Tomcat, etc.), as an "exploded WAR", and running Super Dev Mode (CodeServer with -launchDir, or DevMode with -noserver) separately, pointing to the same directory that the server serves as the webapp (or configuring the server to also look into an additional directory for web resources, so it can find and serve the *.nocache.js generated by the Super Dev Mode)

Ok - so, is my understanding correct, that when I have a separate webserver, like Jetty (e.g. via Eclipse Jetty plugin) or Tomcat, and I start my WebApp with it (via an exploded WAR) and I also start DevMode without the embedded server OR the CodeServer, those two (the separate webserver and the CodeServer) do communicate with the help of the "myapp.nocache.js" file?

What I do not understand is, there is also the bookmarklet "Dev Mode On/Off", how does that work / what is it doing, or is that bookmarklet of no use with the aforementioned setup?

Thank you for any further help you can offer!

You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
To post to this group, send email to
Visit this group at
For more options, visit

No comments:

Post a Comment