Sunday, December 4, 2011

NoSuchMethodError on gwt 2.4

I'm trying to compile a gwt-platform project and I was getting this
exception:


[ERROR] Internal compiler error
java.lang.NoSuchMethodError:
com.google.gwt.uibinder.rebind.messages.MessagesWriter.<init>(Ljava/
lang/String;Lcom/google/gwt/uibinder/rebind/MortalLogger;Ljava/lang/
String;Ljava/lang/String;Ljava/lang/String;)V
at
com.google.gwt.uibinder.rebind.GinUiBinderGenerator.generateOnce(GinUiBinderGenerator.java:
159)

Looking at that code, it is trying to create a MessagesWriter like
this:

MessagesWriter messages = new MessagesWriter(BINDER_URI, logger,
templatePath, interfaceType.getPackage().getName(), implName);

but the only constructor in that class is:

public MessagesWriter(TypeOracle oracle, String nameSpaceUri,
MortalLogger mortalLogger, String generatedFrom,
String packageName, String uiBinderImplClassName)

I thought I just had some dependency version conflict, but gwt-user
2.4.0 seems to be conflicting with itself, which doesn't make sense to
me (it wouldn't have ever compiled).

Can somebody explain what's happening?

--
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+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.

No comments:

Post a Comment