Hello everybody,

 this morning I had the (bad) idea to update my eclipse environment to use 
gwt 2.2... (with 2.1 everything was fine)...

 now I'm experiencing a lot of problems... maybe it's my fault (I'm a new 
gwt & related techs user)...

 My application is using gin and guice; before this morning I was using gin 
v1.0 and guice 2.0.

 Now:

 *1. after upgrading to gwt (to 2.2) I got this exception (still the 
original guice and gin versions):*

   [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

   as expected, my application threw this exception:

   [WARN] Error starting handlers
   
   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-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to 
google-web-toolkit+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to