Closed GoogleCodeExporter closed 8 years ago
You have to recompile gin and gwtp with GWT 2.2 and all other GWT libs that use
generators for that matter.
In GWT 2.2 JClassType has changed from an abstract class to an interface and
therefor is bytecode incompatible.
Original comment by kuhnro...@gmail.com
on 14 Feb 2011 at 7:31
My solution is:
recompile latest trunk google-gin and gwtp with gwt-2.2.0
Original comment by antonev...@gmail.com
on 15 Feb 2011 at 8:16
Another workaround iss to downgrade GWT SDK to 2.1
1. Download 2.1 from http://goo.gl/KKUpM
2. Set it up in Eclipse / Preferences / Tools Webkit to point to the downloaded
location
3. Voila builds fine.
Nevertheless hoping for quick fix of this.
Original comment by atanas.r...@gmail.com
on 16 Feb 2011 at 6:19
It will be done before the end of the day.
Original comment by philippe.beaudoin
on 16 Feb 2011 at 1:49
The latest 0.6-SNAPSHOT works with GWT 2.2 (but it doesn't work with GWT 2.1
due to binary incompatibility). You can grab it from the CI server but I've
also deployed a maven snapshot:
https://oss.sonatype.org/content/repositories/snapshots/com/gwtplatform/
Info on how to use the snapshots if your project is built with Maven:
http://code.google.com/p/gwt-platform/wiki/UsingGwtpWithMaven
Original comment by philippe.beaudoin
on 17 Feb 2011 at 1:36
Thanks
Original comment by ajwec...@gmail.com
on 19 Feb 2011 at 4:45
Same problem when compiling anything depending on gwt-maps-1.1.0.jar
--
[INFO] [ERROR] Errors in
'jar:file:/home/pether/.m2/repository/com/google/gwt/google-apis/gwt-maps/1.1.0/
gwt-maps-1.1.0.jar!/com/google/gwt/maps/client/impl/TileLayerImpl.java'
[INFO] [ERROR] Internal compiler error
[INFO] java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
[INFO] at
com.google.gwt.maps.jsio.rebind.JSWrapperGenerator.generate(JSWrapperGenerator.j
ava:277)
[INFO] at
com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48
)
--
Pether
Original comment by pether.s...@gmail.com
on 20 Feb 2011 at 11:04
Well, Gwt-maps should be recompiled against Gwt 2.2 in the same way we did for
Gwtp :(
Original comment by goudreau...@gmail.com
on 20 Feb 2011 at 11:38
Is this really fixed? I just downloaded gwt-2.2.0 and gwt-maps-1.1.0 and this
problem still exists.
repro:
ant gwtc
(from gwt-maps-1.1.0/samples/hellomaps)
Original comment by jim.ha...@gmail.com
on 27 Feb 2011 at 5:51
Could be that gwt-maps-1.1.0 needs to be recompiled with Gwt 2.2.
Original comment by philippe.beaudoin
on 27 Feb 2011 at 5:58
Bug fixed by upgrading all depedencies to 2.2.0 version.
Original comment by frederic...@gmail.com
on 1 Mar 2011 at 4:54
I install gwt yesterday (mar 2) and i still have the problem.
Using gxt api, we have the problem : java.lang.IncompatibleClassChangeError:
Found interface com.google.gwt.core.ext.typeinfo.JClassType, but class was
expected
I assume it's the same problem, and i 've not found any depedencies yet.
Original comment by gutman.dv
on 3 Mar 2011 at 3:00
Most likely related to gxt not being compatible with GWT 2.2.
Original comment by philippe.beaudoin
on 3 Mar 2011 at 4:15
I just ran in to the same issue, "Caused by:
java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected."
I just downloaded everything new -
1. eclipse-jee-helios-SR2-win32-x86_64
2. Java Version 1.6.0_23
3. Google Plugin for Eclipse 3.6, Ve 2.2.0.v201102111811
4. Google Web Toolkit SDK 2.2.0 2.2.0.v201102111811
I do not use GXT.
Any help would be appreciated.
Thanks
Sam Velu
Original comment by kool.v...@gmail.com
on 11 Mar 2011 at 4:17
The snapshot works with GWT 2.2. If you don't want to use a snapshot, I just
released GWTP 0.5.1 compatible with GWT 2.2. You will need GIN 1.5.
Original comment by philippe.beaudoin
on 11 Mar 2011 at 7:28
[deleted comment]
I have:
gwt 2.2.0
gwtp 0.6-SNAPSHOT
gxt 2.1.1
gin 1.5.0
mvp4g 1.3.1
maven does anybody know how I have to configure pom
to resolv this issue
[INFO] Mvp4g Compilation: 0ms.
[INFO] [ERROR] Errors in
'jar:file:/D:/Users/Pero/.m2/repository/com/extjs/gxt/2.1.1/gxt-2.1.1.jar!/com/e
xtjs/gxt/ui/client/data/BeanModelLookup.java'
[INFO] [ERROR] Internal compiler error
[INFO] java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
Original comment by bijelija...@gmail.com
on 6 Apr 2011 at 8:24
You seem to have a version of mvp4g that isnt compatible with gwt 2.2.
Original comment by goudreau...@gmail.com
on 6 Apr 2011 at 7:29
PURE GWT APPLICATION WORKS
gwt-servlet-2.2.0.jar
gwt-user-2.2.0.jar
mvp4g-1.3.1.jar
gin-1.5.9.jar
guice-3.0-rc2.jar
javax.inect-1.jar
aopaliance-1.0.jar
guice-assistedinject-3.0-rc2.jar
Original comment by bijelija...@gmail.com
on 7 Apr 2011 at 6:25
Does someone have gwt-maps.jar compiled for 2.2? If so, please post.
Original comment by thesunsh...@gmail.com
on 12 Apr 2011 at 8:11
just compiled!
Original comment by graziano...@gmail.com
on 15 Apr 2011 at 7:13
Attachments:
Thanks a lot! I'm sure people who need it appreciate very much.
Original comment by philippe...@arcbees.com
on 15 Apr 2011 at 12:03
love you
Original comment by Thomas.M...@gmail.com
on 15 Apr 2011 at 3:50
Thanks just what i needed and works perfect with GWT 2.2
Original comment by serat...@gmail.com
on 16 Apr 2011 at 7:56
Thanks a bunch mate! =)
Original comment by eliseu.m...@gmail.com
on 5 May 2011 at 11:47
wow i love u man!!!! what have you do?
Original comment by salasv...@gmail.com
on 8 May 2011 at 2:15
Hello, I have the same issue ("java.lang.IncompatibleClassChangeError: Found
interface com.google.gwt.core.ext.typeinfo.JClassType, but class was
expected"). But I don't know how to "recompile" gwt2.2 (actually I have 2.3
SDK) Could anyone explain to me how to do this?? Thanks. Victor.-
Original comment by victorwj...@gmail.com
on 30 May 2011 at 12:47
I've had the same problems as outlined above, plus a few others. I got it
sorted in the end but after some pain. Documented how I got GWT, Eclipse,
Maven, and Gxt/Ext working together here:
https://sites.google.com/site/jeenigxt/gwt-ext-maven-and-eclipse
Thanks for your help guys.
Original comment by clevedon...@googlemail.com
on 13 Jun 2011 at 8:32
I've had the same problems as outlined above, plus a few others. I got it
sorted in the end but after some pain. Documented how I got GWT, Eclipse,
Maven, and Gwt/Ext working together here:
https://sites.google.com/site/jeenigxt/gwt-ext-maven-and-eclipse
Thanks for your help guys.
Original comment by clevedon...@googlemail.com
on 13 Jun 2011 at 8:34
Hi,
i am trying to integrate GWT and Applet but i m also getting same issue:
Using Gwt 2.2,and gwtAI make following error is coming :
[ERROR] Internal compiler error
java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
at com.google.gwt.gwtai.applet.generator.AppletProxyGenerator.generate(AppletProxyGenerator.java:72)
at com.google.gwt.core.ext.GeneratorExtWrapper.generate(GeneratorExtWrapper.java:48)
please help me, thanks in advance
Original comment by deepakku...@gmail.com
on 21 Jun 2011 at 1:19
Attachments:
deepakku...@gmail.com, what I did whas donwload the version 2.2.0 in my local repository with this dependency:
<dependency>
<groupId>com.extjs</groupId>
<artifactId>gxt</artifactId>
<version>2.2.0</version>
</dependency>
Then I dowloaded separately the real latest version gxt-2.2.4 .
And I rename this version to the 2.2.0 and I replaced in my local resositorio
(.M2/com(extjs/2.2.0).
This worked for me with 2.3.0 version of GWT.
I hope it works for you.
Bye.
Original comment by myguelr...@gmail.com
on 27 Aug 2011 at 4:17
graziano...@gmail.com, Apr 15, 2011
Even with GWT 2.4, the problem still persists. The google-gmaps.jar file here,
really works. Google should fix this GWT Maps API issue.
Original comment by californ...@gmail.com
on 16 Nov 2011 at 12:17
Original issue reported on code.google.com by
antonev...@gmail.com
on 12 Feb 2011 at 2:03