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.
