Ok, I found this post: https://groups.google.com/forum/?fromgroups#!topic/gwt-platform/iFDxGnHfxFk
I updated my build-path as they discussed in the forum. So I have the following libraries: ./war/WEB-INF/lib/aopalliance.jar ./war/WEB-INF/lib/gin-1.5-post-gwt-2.2.jar ./war/WEB-INF/lib/guice-3.0-rc2.jar ./war/WEB-INF/lib/guice-assistedinject-3.0-rc2.jar ./war/WEB-INF/lib/guice-servlet-3.0-rc2.jar ./war/WEB-INF/lib/gwt-servlet.jar ./war/WEB-INF/lib/gwtp-all-0.6-SNAPSHOT.jar ./war/WEB-INF/lib/javax.inject.jar I think previous problem is fixed! But unfortunate I´m getting a different error now... But at least it´s a different one! I´ll try to investigate it. Thanks. On Feb 28, 9:22 pm, Dani Boomerang <[email protected]> wrote: > 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(BrowserChan > nelServer.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. > > On Feb 21, 8:14 pm, Fille <[email protected]> wrote: > > > > > > > > > Solved it by adding > > > guice-assistedinject-3.0-rc2.jar > > javax.inject.jar > > aopalliance.jar > > > /Filip > > > On 21 Feb, 19:11, Fille <[email protected]> wrote: > > > > Hello > > > I having problems with updating to gwt 2.2. > > > > I have downloaded and referenced: > > > > gin-1.0-r170.jar > > > guice-3.0-rc2.jar > > > guice-servlet-3.0-rc2.jar > > > gwtp-all-0.6-20110217.132630-1.jar > > > > also dereferenced the old libraries, for guice, gin and gwpt. > > > > When i try to compile my project i get the following: > > > Resolving javax.inject.Named > > > Found type 'javax.inject.Named' > > > [WARN] Ignoring unresolvable annotation type > > > javax.inject.Qualifier > > > Resolving javax.inject.Singleton > > > Found type 'javax.inject.Singleton' > > > [WARN] Ignoring unresolvable annotation type > > > javax.inject.Scope > > > java.lang.NoClassDefFoundError: javax/inject/Provider > > > at java.lang.ClassLoader.defineClass1(Native Method) > > > at java.lang.ClassLoader.defineClassCond(Unknown Source) > > > at java.lang.ClassLoader.defineClass(Unknown Source) > > > at java.security.SecureClassLoader.defineClass(Unknown > > > Source) > > > at java.net.URLClassLoader.defineClass(Unknown Source) > > > at java.net.URLClassLoader.access$000(Unknown Source) > > > at java.net.URLClassLoader$1.run(Unknown Source) > > > at java.security.AccessController.doPrivileged(Native Method) > > > at java.net.URLClassLoader.findClass(Unknown Source) > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > . > > > . > > > Caused by: java.lang.ClassNotFoundException: javax.inject.Provider > > > at java.net.URLClassLoader$1.run(Unknown Source) > > > at java.security.AccessController.doPrivileged(Native Method) > > > at java.net.URLClassLoader.findClass(Unknown Source) > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) > > > at java.lang.ClassLoader.loadClass(Unknown Source) > > > . > > > . > > > When i try to Run the project i get: > > > > 19:05:26.873 [ERROR] [rem] 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) > > > at com.google.gwt.core.client.GWT.create(GWT.java:98) > > > at com.myapp.client.Rem.<init>(Rem.java:13) > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > > > Method) > > > at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown > > > Source) > > > at > > > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown > > > Source) > > > at java.lang.reflect.Constructor.newInstance(Unknown Source) > > > at > > > com.google.gwt.dev.shell.ModuleSpace.rebindAndCreate(ModuleSpace.java: > > > 465) > > > at com.google.gwt.dev.shell.ModuleSpace.onLoad(ModuleSpace.java: > > > 375) > > > . > > > . > > > > Any idéa or solution to this promlem ? > > > Regards > > > /Filip -- 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.
