Google Maps GWT API Library Import is Broken

12 views
Skip to first unread message

aglaforge

unread,
Aug 15, 2006, 1:19:24 AM8/15/06
to Google Web Toolkit
I've been trying to diagnose this for a few hours now, and honestly at
this point I'm not sure what is going on. The current release of
googlemaps.jar which worked as a library in the previous release of GWT
is no longer being loaded by 1.1.0 without throwing a:

[ERROR] Line 26: The import com.mapitz.gwt.googleMaps cannot be
resolved

I've tried everything from modifying the build and run (launch) paths,
to changing the package names, to tinkering with module.xml
positions...

The only thing that seems to fix the problem is to bring the googleMap
files directly into the active project project (w/ no changes to source
packages or modules)...

I'm positive that the googleMaps.jar is in the launch.profile (I ran
into this problem in the previous release and know how to correct it).
Frankly, I'm at a loss... If anyone from the google team or the
community has any suggestions I would appreciate it.

Kind Regards,

Anthony Laforge

Adam T

unread,
Aug 15, 2006, 2:45:43 AM8/15/06
to Google Web Toolkit
Just to console you are point out you are not going mad, I had exactly
the same issues with googlemaps.jar on my set up (windows xp, eclipse,
jdk 1.4), and unfortunately no solution (yet) either!

I was launching hosted mode through Eclipse, from the command line, and
trying to compile, moving things around, changing classpaths all over
the place - and all the time I get complaints about not being able to
find com.mapitz.gwt.GoogleMaps when launching/compiling (no issues
about package visibility from within Eclipse, it was happy). When I
replaced the GWT 1.1 binaries with the old version, everything worked
fine again.

I was looking forward to trying out the new JavaScript injection
functionality rather than having to put the Javascript link in my HTML
file, but that will have to wait until someone points out the really
obvious step that we have perhaps missed :-) Fustrating in the
meanwhile though!!!

arthur

unread,
Aug 15, 2006, 2:52:35 AM8/15/06
to Google Web Toolkit
The same goes for me... :-)
Maybe one of the Google-guys can take a look to get this wonderfull
library to work again.

aglaforge

unread,
Aug 15, 2006, 10:18:37 AM8/15/06
to Google Web Toolkit
I figured out a way to fix it and will have a working release posted on
the sourceforge project page in the next hour or so...

I'll post more details shortly.

aglaforge

unread,
Aug 15, 2006, 10:41:42 AM8/15/06
to Google Web Toolkit
The problem appears to be that the new release of the GWT engine is
having problems importing .jar files created from eclipse. If I go in,
extract the .jar file and then re-compress it with another application
as a zip file and then rename it to a jar it works just fine.

Adam T

unread,
Aug 15, 2006, 11:49:59 AM8/15/06
to Google Web Toolkit
Interesting! Great that you found that issue now I can stick the GMap
back into my application (great widget, by the way!!)

arthur

unread,
Aug 15, 2006, 12:51:48 PM8/15/06
to Google Web Toolkit
Great, it works for me...!
But, very strange problem... good that you found it.
Great widget indeed... :-)

Reply all
Reply to author
Forward
0 new messages