Trouble running with 2.3.0.CR1 in dev mode.
mdhirsch30345 Mar 26, 2013 7:20 PMI see that the bug which has been keeping me from using 2.2.0 is fixed! Yay!
So I tried it out. It compiles fine and even seems to run well, until I try to use dev mode. It fails with no useful information--at least not useful for me. This is my main complaint about errai and GWT: when it breaks there is little useful information about what went wrong.
When I try to load my app it quickly fails with:
Exception while loading moduleorg.jboss.errai.marshalling.client.api.MarshallerFramework. See Development Mode for details.
So I look in the dev mode console and get:
00:03:51.522 [ERROR] Unexpected error trying to instantiate Generator 'org.jboss.errai.marshalling.rebind.MarshallersGenerator'
java.lang.NoClassDefFoundError: Could not initialize class org.jboss.errai.marshalling.rebind.MarshallersGenerator
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:607)
at com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:41)
at com.google.gwt.dev.shell.StandardRebindOracle$Rebinder.rebind(StandardRebindOracle.java:79)
at com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:276)
at com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:141)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:595)
at com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:465)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
at com.google.gwt.core.shared.GWT.create(GWT.java:57)
at com.google.gwt.core.client.GWT.create(GWT.java:85)
at org.jboss.errai.marshalling.client.api.MarshallerFramework.<clinit>(MarshallerFramework.java:42)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:247)
at com.google.gwt.dev.shell.ModuleSpace.loadClassFromSourceName(ModuleSpace.java:665)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:373)
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:662)
Is there a parameter to turn on better logging so that I can track down the issue? Is there a way to tell what part of my code can't be compiled?
I'm using gwt 2.5.1, if that matters.