Monday, November 7, 2016

Re: GWT 2.7.0 Compile Errors



On Monday, November 7, 2016 at 3:53:01 PM UTC+1, Majdi ABDELMOULA wrote:
I have Compile an old GWT project under the plugin GWT 2.7.0 , but i have some errors because the incompatibility between the old version and the new version of the GWT.
What is the solution for this error ???

--------------------------------------------------------------------------------------------
[…] 
Caused by: java.lang.IncompatibleClassChangeError: Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was expected

In GWT 2.2, JClassType (everything in com.google.gwt.core.ext.typeinfo actually) was changed from an interface to an abstract class (that was almost 6 years ago already, and I can't find where it was announced; and release notes for such ancient versions have been lost)

at com.extjs.gxt.ui.rebind.core.TemplatesGenerator$SourceGenerator.validateType(TemplatesGenerator.java:142)

You need to update GXT (and all your other dependencies) to a version that's compatible with GWT 2.7. 

--
You received this message because you are subscribed to the Google Groups "GWT Users" 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 https://groups.google.com/group/google-web-toolkit.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment