Hello,
I started my project with GWT 2.1 and GWTP 0.5. I used to have the
same problem as you:
.
.
.
Failed to create an instance of
'com.myapp.client.Rem' via deferred binding
java.lang.RuntimeException: Deferred binding failed for
'com.myapp.client.gin.MyGinjector' (did you forget to inherit a
required module?)
at
com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
.
.
.
I couldn´t fix it at all, and I decided to jump to GWT 2.2 and gwtp
0.6
Now I get this error in gin-1.0-r170.jar:
[DEBUG] [gurunaki] - Validating newly compiled units
[ERROR] [gurunaki] - Errors in 'jar:file:/Users/Dani/Documents/
workspace/Gurunakiarch1/war/WEB-INF/lib/gin-1.0-r170.jar!/com/google/
gwt/inject/client/PrivateGinModule.java'
[ERROR] [gurunaki] - Line 96: The method bind(Class<T>) in the type
GinBinder is not applicable for the arguments (Key<T>)
[ERROR] [gurunaki] - Errors in 'jar:file:/Users/Dani/Documents/
workspace/Gurunakiarch1/war/WEB-INF/lib/gin-1.0-r170.jar!/com/google/
gwt/inject/client/assistedinject/GinFactoryModuleBuilder.java'
[ERROR] [gurunaki] - Line 216: The method get(Class<capture#1-of ?
extends T>) is undefined for the type TypeLiteral
[ERROR] [gurunaki] - Line 223: The method get(Class<T>) is undefined
for the type TypeLiteral
[ERROR] [gurunaki] - Line 230: The method get(Class<capture#3-of ?
extends T>) is undefined for the type TypeLiteral
[ERROR] [gurunaki] - Line 246: The method get(Class<capture#5-of ?
extends T>) is undefined for the type TypeLiteral
[ERROR] [gurunaki] - Line 254: The method get(Class<T>) is undefined
for the type TypeLiteral
[ERROR] [gurunaki] - Line 262: The method get(Class<capture#7-of ?
extends T>) is undefined for the type TypeLiteral
[ERROR] [gurunaki] - Line 278: The method get(Class<capture#10-of ?
extends T>) is undefined for the type TypeLiteral
[ERROR] [gurunaki] - Line 286: The method get(Class<T>) is undefined
for the type TypeLiteral
[ERROR] [gurunaki] - Line 294: The method get(Class<capture#14-of ?
extends T>) is undefined for the type TypeLiteral
[ERROR] [gurunaki] - Line 309: The method get(Class<capture#17-of ?
extends T>) is undefined for the type TypeLiteral
[ERROR] [gurunaki] - Line 324: The method get(Class<F>) is undefined
for the type TypeLiteral
[ERROR] [gurunaki] - Failed to create an instance of
'org.ib.labs.gurunaki.client.Gurunaki' via deferred binding
[ERROR] [gurunaki] - Unable to load module entry point class
org.ib.labs.gurunaki.client.Gurunaki (see associated exception for
details)
[ERROR] [gurunaki] - Failed to load module 'gurunaki' from user agent
'Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.1.16)
Gecko/20101130 Firefox/3.5.16' at localhost:49651
*The server exception is the next:
com.google.gwt.core.ext.UnableToCompleteException: (see previous log
entries) at
com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java:
503) 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:680)
Which I think it is the exactly exception I used to have with GWT 2.1
& GWTP 0.6
I think I have tried almost everything playing with my build path, and
right now I have these libraries added to my build-path:
guice-3.0-rc2.jar
guice-servlet-3,0-rc2.jar
javax-inject-1.jar
aopalliance.jar
guice-assistedinject-snapshot.jar
gwtp-all-0.6-SNAPSHOT.jar
gwt-gin-1.0-r137.jar
gin-1.0-r170.jar
I´d really appreciate any idea...or perhaps...do you think could you
tell me the exactly libraries you have added to your build-path?
Thanks!!
Dani.