[WARN] failed JettyContainerService$ApiProxyHandler@ae281c: java.lang.NoClassDefFoundError: com/google/inject/internal/Lists
[WARN] Error starting handlers
java.lang.NoClassDefFoundError: com/google/inject/internal/Lists
at com.google.inject.servlet.FiltersModuleBuilder.<init>(FiltersModuleBuilder.java:36)
at com.google.inject.servlet.ServletModule.<init>(ServletModule.java:219)
2. then I updated the guice version to 3.0-rc2 *mantaining* the original gin version (1.0), but I got this unlikely mix:
gin-1.0.jar
guice-2.0.jar
guice-servlet-3.0-rc2.jar
java.lang.NoClassDefFoundError: com/google/inject/internal/util/$Preconditions
at com.google.inject.servlet.ServletModule.configure(ServletModule.java:44)
at com.google.inject.AbstractModule.configure(AbstractModule.java:59)
...
3. after some investigations, I discovered that gwt 3.2 requires a new gin (see this post http://groups.google.com/group/google-gin/browse_thread/thread/70520a9f495f5747/7930eda17843aea8#7930eda17843aea8 ). I also updated gin to 1.1-2.2-SNAPSHOT. The dependencies looked right now:
gin-1.1-2.2-20110211.140818-5.jar
guice-3.0-rc2.jar
guice-assistedinject-3.0-rc2.jar
guice-servlet-3.0-rc2.jar
gwt-servlet-2.2.0.jar
javax.inject-1.jar
*BUT* the application threw another exception:
com.google.inject.CreationException: Guice creation errors:
1) No implementation for javax.inject.Provider<com.google.gwt.inject.rebind.GinjectorBindings> was bound.
while locating javax.inject.Provider<com.google.gwt.inject.rebind.GinjectorBinding>
for parameter 4 at com.google.gwt.inject.rebind.GinjectorBindings.<init>(GinjectorBindings.java:182)
at com.google.gwt.inject.rebind.GinjectorGeneratorModule.configure(GinjectorGeneratorModule.java:69)
So:
- where am I wrong?
- do you have suggestions to solve this?
Thanks in advance for any help
CA
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
while locating javax.inject.Provider<com.google.gwt.inject.rebind.GinjectorBindings>
for parameter 4 at com.google.gwt.inject.rebind.GinjectorBindings.<init>(GinjectorBindings.java:182)
at com.google.gwt.inject.rebind.GinjectorGeneratorModule.configure(GinjectorGeneratorModule.java:69)
Thanks thanks thanks
;-)
Thomasthanks for your answer...when you say " but you then have to recompile it against the GWT 2.2 SDK", you mean I have to take the sources and repackage or simply start a gwt compilation?
Hi Carlo,How did you fix this issue? I'm running into exactly the same problem. When I "Run as Web Application" on Eclipse, I get the following exception:
No implementation for javax.inject.Provider<com.google.gwt.inject.rebind.GinjectorBindings> was bound.while locating javax.inject.Provider<com.google.gwt.inject.rebind.GinjectorBindings>
for parameter 4 at com.google.gwt.inject.rebind.GinjectorBindings.<init>(GinjectorBindings.java:196)at com.google.gwt.inject.rebind.GinjectorGeneratorModule.configure(GinjectorGeneratorModule.java:75)I've tried making a new project with the GIN source code, and adding that as a library to my Java project. But I still get the same error.I'm using gin-2.0, which appears to come with guice-3.0 bundled with it.Please let me know where I can look to troubleshoot this problem, or if there is some other library I should be including as well.Regards,Avanish
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/AKI8OYdeiusJ.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
aopalliance.jar
gin-2.0.jar
guice-3.0.jar
guice-assistedinject-3.0.jar
javax.inject.jar
--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To post to this group, send email to google-we...@googlegroups.com.
To unsubscribe from this group, send email to google-web-tool...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.