Error when migrating to GWT 2.4.0

46 views
Skip to first unread message

Tiago Rinck Caveden

unread,
Oct 26, 2011, 9:41:36 AM10/26/11
to google-we...@googlegroups.com
Hello all,

I'm trying to migrate to GWT 2.4.0 in order to use some of its features and bug fixes, but when I try to load the application in Eclipse I have the following error:

[WARN] Error for /gwtRequest
java.lang.NoSuchMethodError: com.google.gwt.core.client.impl.WeakMapping.setWeak(Ljava/lang/Object;Ljava/lang/String;Ljava/lang/Object;)V
at com.google.web.bindery.autobean.vm.impl.ProxyAutoBean.createShim(ProxyAutoBean.java:342)
at com.google.web.bindery.requestfactory.server.SimpleRequestProcessor.process(SimpleRequestProcessor.java:124)
at com.google.web.bindery.requestfactory.server.RequestFactoryServlet.doPost(RequestFactoryServlet.java:133)

Anyone has any idea of what's the problem? I verified that the maven plugin in the pom is of the same version of GWT (2.4.0). The SDK configured for the project is also 2.4.0, actually is the only one installed. 

I noted that Gin is indirectly importing GWT 2.2.0.. I wonder if this might be the issue, and how to get it fixed...

The funny thing is that eclipse itself can find the sources for the method which is supposedly missing, when I navigate to it using the stack trace above.

Thank you for any help,
Tiago

Juan Pablo Gardella

unread,
Oct 26, 2011, 9:45:45 AM10/26/11
to google-we...@googlegroups.com
Put GWT 2.4 in first place in the classpath. 

2011/10/26 Tiago Rinck Caveden <cav...@gmail.com>

--
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.

Patrick Julien

unread,
Oct 26, 2011, 9:49:16 AM10/26/11
to google-we...@googlegroups.com
I would check if an earlier gwt 2.x is still found on your classpath, like a local copy in web-inf 
Reply all
Reply to author
Forward
0 new messages