aino-komal / mvp4g

Automatically exported from code.google.com/p/mvp4g
0 stars 0 forks source link

GWT 2.2M1 doesn't work with MVP4g #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
They made some internal changes to the generators ect in the 2.2 release and 
now when compiling a sample application with the 2.2M1 release, this error 
appears.

java.lang.IncompatibleClassChangeError: Found interface 
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected

Original issue reported on code.google.com by larse...@gmail.com on 28 Jan 2011 at 2:29

GoogleCodeExporter commented 9 years ago
It seems they did a change in GWT 2.2 and Mvp4g needs to be re-compiled with 
GWT 2.2 (or at least all the classes related to the generator).
I tried it and it removed this error for Mvp4g. However the same error is 
raised for gin-1.0 (since gin uses a generator, it needs to be re-compiled with 
GWT 2.2).

Original comment by plcoir...@gmail.com on 29 Jan 2011 at 10:40

GoogleCodeExporter commented 9 years ago
I found solution. I increase memory for gwt compiler an it works.

Part of my gwtc task:
<jvmarg value="-Xmx512M" />

Original comment by antonev...@gmail.com on 12 Feb 2011 at 12:57

GoogleCodeExporter commented 9 years ago
I don't think it's a memory issue. The error comes from that classes inside 
com.google.gwt.core.ext.typeinfo are now interfaces.

I uploaded temporary files to the download section to have mvp4g works with 
gwt-2.2 (you can check this post for more info: 
http://groups.google.com/group/mvp4g/browse_thread/thread/9f274a7e36f469f4)

Original comment by plcoir...@gmail.com on 12 Feb 2011 at 7:22

GoogleCodeExporter commented 9 years ago
Just for info, if you use gwt-log package, it is also needs to be updated: 
http://code.google.com/p/gwt-log/downloads/detail?name=gwt-log-3.1.0.jar

Original comment by shaman.sir on 18 Feb 2011 at 9:09

GoogleCodeExporter commented 9 years ago
Sorry. This is not memory issue. This is gwt 2.2.0 code base issue. Solution is 
: recompile gin and trunk mvp4g with gwt 2.2.0.

 I made this with gwtp project.

Original comment by antonev...@gmail.com on 19 Feb 2011 at 5:18

GoogleCodeExporter commented 9 years ago
Mvp4g-1.3.1 is now compatible with GWT 2.2.0

Original comment by plcoir...@gmail.com on 7 Mar 2011 at 9:15