Hi,
I'm trying to execute the "First application" example (from
http://wiki.restlet.org/docs_2.1/13-restlet/21-restlet/318-restlet/303-restlet.html)
using Restlet 2.1-M2 GWT edition and GWT 2.2.0, but I get the following
exception:
java.lang.RuntimeException: Deferred binding failed for
'org.restlet.example.client.ContactResourceProxy' (did you forget to inherit a
required module?)
I do have <inherits name='org.restlet.Restlet' /> in the module configuration
file.
Is Restlet 2.1 compatible with GWT 2.2?
Thanks,
Pierre
PS: The full stack trace is the following:
java.lang.RuntimeException: Deferred binding failed for
'org.restlet.example.client.ContactResourceProxy' (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
org.restlet.example.client.RpcExampleEntryPoint.<init>(RpcExampleEntryPoint.java:30)
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:183)
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:619)
Caused by: java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
at
org.restlet.rebind.ClientProxyGenerator.generate(ClientProxyGenerator.java:235)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
at
com.google.gwt.core.ext.GeneratorExtWrapper.generateIncrementally(GeneratorExtWrapper.java:60)
...
------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2709227