Hi folks,
I tried to build an app based on the GWT Tutorial. I use Spring STS
with GWT 2.3.0
(com.google.gwt.eclipse.sdkbundle_2.3.0.r36v201105191508). I try to
implement "Making Remote Procedure Calls" with an AsyncCallback. The
problem I encounter on loading the build in server in developer mode
is this one:
java.lang.RuntimeException: Deferred binding failed for
'de.patrickbreucking.pwn.rtmweekplanner.client.RtmTasksService' (did
you forget to inherit a required module?) Caused by:
java.lang.IllegalAccessError: tried to access method
com.google.gwt.dev.util.DiskCache.<init>()V from class
com.google.gwt.user.linker.rpc.RpcLogArtifact
(Full stack trace at the end of the post)
So far so bad. The interesting thing is this: if I set a breakpoint in
GWTBridgeImpl.create, and let the vm run until the exception is
catched, say eclipse debuger to drop frame back to the breakpoint and
then let run the code, everything works fine...
Any ideas?
Thanks in advance!
- Patrick
Full Stack Trace
23:29:04.018 [ERROR] [applicationScaffold] Failed to create an
instance of
'de.patrickbreucking.pwn.rtmweekplanner.client.scaffold.Scaffold' via
deferred binding
java.lang.RuntimeException: Deferred binding failed for
'de.patrickbreucking.pwn.rtmweekplanner.client.RtmTasksService' (did
you forget to inherit a required module?)
at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at
de.patrickbreucking.pwn.rtmweekplanner.client.scaffold.Scaffold.<init>(Scaffold.java:
46)
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
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
465)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
375)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
193)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
510)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Thread.java:680)
Caused by: java.lang.IllegalAccessError: tried to access method
com.google.gwt.dev.util.DiskCache.<init>()V from class
com.google.gwt.user.linker.rpc.RpcLogArtifact
at
com.google.gwt.user.linker.rpc.RpcLogArtifact.<clinit>(RpcLogArtifact.java:
40)
at
com.google.gwt.user.rebind.rpc.ProxyCreator.create(ProxyCreator.java:
364)
at
com.google.gwt.user.rebind.rpc.ServiceInterfaceProxyGenerator.generateIncrementally(ServiceInterfaceProxyGenerator.java:
59)
at
com.google.gwt.dev.javac.StandardGeneratorContext.runGeneratorIncrementally(StandardGeneratorContext.java:
681)
at
com.google.gwt.dev.cfg.RuleGenerateWith.realize(RuleGenerateWith.java:
41)
at com.google.gwt.dev.shell.StandardRebindOracle
$Rebinder.rebind(StandardRebindOracle.java:74)
at
com.google.gwt.dev.shell.StandardRebindOracle.rebind(StandardRebindOracle.java:
285)
at
com.google.gwt.dev.shell.ShellModuleSpaceHost.rebind(ShellModuleSpaceHost.java:
141)
at com.google.gwt.dev.shell.ModuleSpace.rebind(ModuleSpace.java:
585)
at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
455)
at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:49)
at com.google.gwt.core.client.GWT.create(GWT.java:98)
at
de.patrickbreucking.pwn.rtmweekplanner.client.scaffold.Scaffold.<init>(Scaffold.java:
46)
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
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
465)
at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java:
375)
at
com.google.gwt.dev.shell.OophmSessionHandler.loadModule(OophmSessionHandler.java:
193)
at
com.google.gwt.dev.shell.BrowserChannelServer.processConnection(BrowserChannelServer.java:
510)
at
com.google.gwt.dev.shell.BrowserChannelServer.run(BrowserChannelServer.java:
352)
at java.lang.Thread.run(Thread.java:680)
--
You received this message because you are subscribed to the Google Groups
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-web-toolkit?hl=en.