Thursday, May 28, 2015

Re: Strange exception (IncompatibleClassChangeError) as super dev mod starts



On Thursday, May 28, 2015 at 4:58:59 PM UTC+2, Hezouat Zahir wrote:
Ok I removed jetty-annotations  (No we don't use jettty -annotations in client-side). But now, i get this exception " java.lang.IllegalArgumentException: Object of class 'com.fircosoft.cdb.server.JettyPlusLauncher.WebAppContextWithReload' is not of type 'org.eclipse.jetty.webapp.WebAppContext'. Object Class and type Class are from different loaders. "

Oh, are you using DevMode with a custom ServletLauncher?
I'm afraid this is not going to work. Try launching your Jetty server separately and launching SuperDevMode through the CodeServer.
 
On Thursday, May 28, 2015 at 4:46:32 PM UTC+2, Thomas Broyer wrote:


On Thursday, May 28, 2015 at 3:56:13 PM UTC+2, Hezouat Zahir wrote:

We are using jetty-annotations because we use spring framework . Moreover, we have chosen jetty 8.1.12.v20130726 and not jetty 9 and so we should change version of jetty.

"…or just don't put jetty-annotations on the classpath for GWT! (are you really using jetty-annotations in client-side code‽)"

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment