Hi Pierre,

Compatibility with GWT 2.2 is definitely planned for Restlet 2.1, maybe for 2.1 
M3 due next week... Thierry has already worked on this but it looks difficult 
to support both GWT 2.2 and previous versions at the same time, so Restlet 2.0 
will likely not be updated for GWT 2.2. 

Best regards,
Jerome
--
Restlet ~ Founder and Technical Lead ~ http://www.restlet.o​rg
Noelios Technologies ~ http://www.noelios.com




-----Message d'origine-----
De : Pierre Fouché [mailto:[email protected]] 
Envoyé : jeudi 3 mars 2011 11:23
À : [email protected]
Objet : Restlet 2.1-M2 and GWT 2.2.0

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

------------------------------------------------------
http://restlet.tigris.org/ds/viewMessage.do?dsForumId=4447&dsMessageId=2709301

Reply via email to