That is the exact error that I was seeing and the changing the script
tag to <script src="http://maps.google.com/maps?
gwt=1&amp;file=api&amp;v=2.148" /> in the *.gwt.xml file solved the
problem. It fixed both the sample code and my existing project that
had stopped working yesterday

Gary

On Mar 25, 3:52 pm, nmadzharov <nmadzha...@gmail.com> wrote:
> i dont understand how it does cimpile the project successgully, i.e.
> it finds that module and validates it and then it says it can't load
> it.
>
> My code and everything has been built according to the tutorial
>
> 1.
> [ERROR] Unable to load module entry point class
> com.example.google.gwt.mapstutorial.client.SimpleMaps (see associated
> exception for details)
> java.lang.RuntimeException: The Maps API has not been loaded.
> Is a <script> tag missing from your host HTML or module file?  Is the
> Maps key missing or invalid?
>         at com.google.gwt.maps.client.Maps.assertLoaded(Maps.java:29)
>         at com.google.gwt.maps.client.geom.LatLng$.newInstance(Native Method)
>         at com.example.google.gwt.mapstutorial.client.SimpleMaps.onModuleLoad
> (SimpleMaps.java:23)
>
> 2.
> [ERROR] Failure to load module
> 'com.example.google.gwt.mapstutorial.SimpleMaps'
--~--~---------~--~----~------------~-------~--~----~
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 
google-web-toolkit+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/Google-Web-Toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to