marquies
unread,Jun 26, 2011, 5:38:24 PM6/26/11Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Google Web Toolkit
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)