Hello, It looks like the Maps API script is not really being loaded. Check the <script> tag in your host file, or your .gwt.xml file. Recent versions of the code will warn you about this issue.
-Eric. On Mon, Sep 15, 2008 at 12:10 AM, Einstein0970 <[EMAIL PROTECTED]> wrote: > > Hi Guys, > > Recently moved on Ubuntu 8.04 (64bit) and GWT 1.5. > > I am using the latest gwt-maps.api and my very simple code does not > start on host mode but works perfectly when deployed under tomcat. > > Here is the error I get: > > [ERROR] Unable to load module entry point class > com.mobigolf.gwt.client.MobiGolf (see associated exception for > details) > com.google.gwt.core.client.JavaScriptException: (TypeError): > $wnd.GLatLng is not a constructor > fileName: transient source for > com.google.gwt.maps.client.impl.__LatLngImplImpl > lineNumber: 14 > stack: (46.870989,-71.217155)@transient source for > com.google.gwt.maps.client.impl.__LatLngImplImpl:14 > gwtOnLoad([object Window],"com.mobigolf.gwt.MobiGolf","1.5")@:0 > gwtOnLoad((function () {alert("Failed to load module > com.mobigolf.gwt.MobiGolf\".\nPlease see the log in the development > shell for details.");}),"com.mobigolf.gwt.MobiGolf","http://localhost: > 8888/com.mobigolf.gwt.MobiGolf/")@http://localhost:8888/ > com.mobigolf.gwt.MobiGolf/hosted.html?com_mobigolf_gwt_MobiGolf:20 > maybeStartModule()@http://localhost:8888/com.mobigolf.gwt.MobiGolf/ > com.mobigolf.gwt.MobiGolf.nocache.js:100 > ()@http://localhost:8888/com.mobigolf.gwt.MobiGolf/ > com.mobigolf.gwt.MobiGolf.nocache.js:393 > @http://localhost:8888/com.mobigolf.gwt.MobiGolf/hosted.html? > com_mobigolf_gwt_MobiGolf:39<http://localhost:8888/com.mobigolf.gwt.MobiGolf/hosted.html?com_mobigolf_gwt_MobiGolf:39> > > at com.google.gwt.maps.client.impl.__LatLngImplImpl.construct(Native > Method) > at com.google.gwt.maps.client.geom.LatLng.<init>(LatLng.java:65) > at > > com.mobigolf.gwt.client.reservations.InfoWindowDemo.<clinit>(InfoWindowDemo.java: > 54) > at com.mobigolf.gwt.client.Tabs.<init>(Tabs.java:45) > at com.mobigolf.gwt.client.MobiGolf.onModuleLoad(MobiGolf.java:51) > > Thanks for any help, > > > > > -- Eric Z. Ayers - GWT Team - Atlanta, GA USA http://code.google.com/webtoolkit/ --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---