Hi All

maybe I can be a little off-topic posting here but this is not an usual 
"user" question and hopefully some "contributor" can help me.

I want to understand an error that I get in DevMode. The error is the 
following:
------------------------------------------------------------------------------------------------------------
00:00:09,841 [ERROR] Unable to initialize static dispatcher

java.lang.UnsupportedClassVersionError: 
com/google/gwt/core/client/JavaScriptObject$ : Unsupported major.minor 
version 51.0
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:631)
at java.lang.ClassLoader.defineClass(ClassLoader.java:615)
at java.lang.ClassLoader.defineClass(ClassLoader.java:465)
at 
com.google.gwt.dev.shell.CompilingClassLoader.findClass(CompilingClassLoader.java:1121)
at 
com.google.gwt.dev.shell.CompilingClassLoader.loadClass(CompilingClassLoader.java:1194)
at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:249)
at com.google.gwt.dev.shell.JsValueGlue.set(JsValueGlue.java:220)
at 
com.google.gwt.dev.shell.ModuleSpaceOOPHM.doInvoke(ModuleSpaceOOPHM.java:129)
at com.google.gwt.dev.shell.ModuleSpace.invokeNative(ModuleSpace.java:576)
at 
com.google.gwt.dev.shell.ModuleSpace.invokeNativeVoid(ModuleSpace.java:304)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:347)
at 
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:200)
at 
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:526)
at 
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:364)
at java.lang.Thread.run(Thread.java:680)
------------------------------------------------------------------------------------------------------------

I'm not working on the standard release of GWT, I'm running a custom build 
coming from current GWT development.

To make things more weird, I'm running the application on a Jetty 7 server 
(with -noserver option) and debugging with DevMode using the following code 
snippet:

String[] newArgs = ("-noserver -war target/webapp -startupUrl gwt.html" 
   + " -logLevel INFO -codeServerPort 9997 " 
   + "net.cristcost.test.gwt.DemoApp").split(" "); 
DevMode.main(newArgs);

I get that error when I try to open the page with the GWT app in DevMode 
(http://localhost:8080/gwt.html?gwt.codesvr=127.0.0.1:9997)

With GWT 2.5.1 everything was working, but I had an issue and I needed to 
exclude "org.eclipse.jdt.core" dependency from the project due to 
incompatibility with GWT:  

<dependency> 
   <groupId>org.eclipse.jetty</groupId> 
   <artifactId>jetty-jsp</artifactId> 
   <version>${jetty.version}</version> 
   <scope>test</scope> 
   <!-- This dependency cause issue in GWT compilation in DevMode --> 
   <exclusions> 
      <exclusion> 
         <artifactId>org.eclipse.jdt.core</artifactId> 
         <groupId>org.eclipse.jetty.orbit</groupId> 
     </exclusion> 
   </exclusions> 
</dependency>

(in fact, I am really trying 2.6.0 nightly to see if this problem will 
persists) 


Can someone give me some light on the error and explain it? I want to see 
if I find some workaround.

Thank you,
Cristiano


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

Reply via email to