GWT 2.4.0 and maps3

225 views
Skip to first unread message

SoMa

unread,
Jan 3, 2012, 10:25:50 AM1/3/12
to gwt-maps3-discuss
Hi,

I try to use this nice library in my application but it is not
working.

Affter I added gwt-maps3-0.2b.jar to my gwt web application a got an
IncompatibleClassChangeError exception:

[ERROR] Errors in 'jar:file:/R:/gwt/libraries/google/maps/gwt-
maps3.jar!/com/google/gwt/maps/client/base/LatLng.java'
[ERROR] Internal compiler error
java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected at
com.google.gwt.jsio.rebind.JSWrapperGenerator.generate(JSWrapperGenerator.java:
276)
...
[ERROR] Unexpected internal compiler error
java.lang.IncompatibleClassChangeError: Found interface
com.google.gwt.core.ext.typeinfo.JClassType, but class was expected
at
com.google.gwt.jsio.rebind.JSWrapperGenerator.generate(JSWrapperGenerator.java:
276)


I spent a lot of time with it but I can not resolve my problem. I want
to use v3 api and gwt 2.4.0.

Colud you help me?

thx, soma

Ben

unread,
Jan 8, 2012, 5:50:58 PM1/8/12
to gwt-maps3-discuss

>
> Affter I added gwt-maps3-0.2b.jar to my gwt web application a got an
> IncompatibleClassChangeError exception:

Hi, I've been playing with this myself the last couple of days. The
only way I could get this to work was to clone the mercurial repo into
my eclipse workspace, convert that to a java project, add a dependency
on the same version of gwt that I'm using, then link the maps proejct
to my project in the build path.

Daniel Carvalho

unread,
Jun 25, 2012, 2:38:30 PM6/25/12
to gwt-maps...@googlegroups.com
I also want to use gmaps v3 with GWT 2.4.0. 

Found this, where they posted a modified gmaps jar file compiled for gwt2.40 - http://code.google.com/p/gwt-google-apis/issues/detail?id=447
But that is for old gmaps, not v3.

Is there anything similar for v3??


 
Reply all
Reply to author
Forward
0 new messages