error using GWT and Maps api 2_2_1

2 views
Skip to first unread message

donnieblando

unread,
Sep 7, 2007, 11:24:55 AM9/7/07
to Google Web Toolkit
My application works fine when I let it RUN from Eclipse.

Using the file myApplication-shell.cmd to launch it, the application
doesn't work, giving me the following error

[ERROR] Unable to find 'com/mapitz/gwt/googleMaps/GoogleMaps.gwt.xml'
on your classpath; could be a typo, or maybe you forgot to include a
classpath entry for source?

I don't understand. I added this line

<inherits name='com.mapitz.gwt.googleMaps.GoogleMaps'/>

to my xml file and I added the script

<script src="http://maps.google.com/maps?file=api&v=2.x&key=ABCDEF"
type="text/javascript"></script>

to the html file, with the right key.

Any help is appreciated

Giuseppe

Isaac Truett

unread,
Sep 7, 2007, 11:43:44 AM9/7/07
to Google-We...@googlegroups.com
Add the mapitz jar to your cmd file's classpath.

donnieblando

unread,
Sep 8, 2007, 1:10:08 PM9/8/07
to Google Web Toolkit
Thanks Isaac,
now It works, althought my geocoder continues giving me "Spain" as
result

Giuseppe

Reply all
Reply to author
Forward
0 new messages