Newbie error

22 views
Skip to first unread message

abwaters

unread,
Feb 12, 2012, 6:57:51 PM2/12/12
to gwt-maps3-discuss
I'm sure this is something simple but I can't get the library to work
at all.

1) i've added the inherits and script entry to my ...gwt.xml file.
2) i've got the gwt-maps3-0.2b.jar in my classpath
3) i've got a sample test.html file working just fine with the maps
javascript api

The problem starts immediately when I try to create a MapOptions()
object. I get the following error:

java.lang.ExceptionInInitializerError: null
at com.google.gwt.maps.client.MapOptions.<init>(MapOptions.java:
40)
at
com.abwaters.google.mapwidget.client.MapPanel.<init>(MapPanel.java:15)

After looking at the code it seems obvious that the maps api
javascript library is not loading but I can't figure out why.

-bryanw
Reply all
Reply to author
Forward
0 new messages