Wednesday, November 13, 2013

Re: ClassNotFoundException: com.google.gwt.dev.util.Preconditions when compiling with 2.6.0 RC1



On Wednesday, November 13, 2013 6:45:49 PM UTC+1, Boris Brudnoy wrote:
Are you using a third-party library that would make use of this class? (Google GIN used to use it for example, and has not yet made a released with the fix: https://code.google.com/p/google-gin/source/detail?r=278

Yes, the project uses GIN. Further down the stack trace there's this (which I missed): 

Caused by: java.lang.NoClassDefFoundError: com/google/gwt/dev/util/Preconditions
at com.google.gwt.inject.rebind.reflect.MethodLiteral.get(MethodLiteral.java:59)
at com.google.gwt.inject.rebind.util.MemberCollector.getTypeMethods(MemberCollector.java:311)
at com.google.gwt.inject.rebind.util.MemberCollector.accumulateMembers(MemberCollector.java:269)

Just checked the diffs for the fix you linked to and confirmed that the old MethodLiteral indeed uses the Preconditions.java now absent from the c.g.g.dev.util package. This implies that projects using GIN won't be able to migrate to GWT 2.6.0 until a new GIN release comes out. Guessing this is going to be a problem for a lot of folks.

Yes, but GIN is made by some of the same team as GWT at Google (e.g. Goktug Gokdogan) so I think there's a good chance that we'll see a GIN 2.1.2 that's compatible with GWT 2.6.

--
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To post to this group, send email to google-web-toolkit@googlegroups.com.
Visit this group at http://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/groups/opt_out.

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate