No source code is available for type com.google.gwt.maps.client

465 views
Skip to first unread message

Muthu

unread,
Mar 10, 2010, 3:38:45 AM3/10/10
to Google Web Toolkit
I followed the instructions from the following site

http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis&t=MapsGettingStarted

to add maps to my GWT application. Had the inherits as well

<inherits name="com.google.gwt.maps.GoogleMaps" />

And also added the gwt-maps.jar in my classpath (war/web-inf/lib
folder). However I still get the following errors..

[ERROR] Line 144: No source code is available for type
com.google.gwt.maps.client.geom.LatLng; did you forget to inherit a
required module?
[ERROR] Line 148: No source code is available for type
com.google.gwt.maps.client.overlay.Marker; did you forget to inherit a
required module?
[ERROR] Line 152: No source code is available for type
com.google.gwt.maps.client.InfoWindowContent; did you forget to
inherit a required module?

[ERROR] Line 14: No source code is available for type
com.google.gwt.maps.client.MapWidget; did you forget to inherit a
required module?
[ERROR] Line 22: No source code is available for type
com.google.gwt.maps.client.control.LargeMapControl; did you forget to
inherit a required module?
[ERROR] Line 25: No source code is available for type
com.google.gwt.maps.client.geom.LatLng; did you forget to inherit a
required module?
[ERROR] Line 30: No source code is available for type
com.google.gwt.maps.client.overlay.Marker; did you forget to inherit a
required module?

Any idea?? please help.. Thanks.

Muthu

unread,
Mar 11, 2010, 1:50:07 AM3/11/10
to Google Web Toolkit
Never mind got this resolved. My setup is little different. I had two
modules defined in the same project file (two *.gwt.xml file). One was
inheriting the maps module and the other was not. When I added the
inherits in the other one it started working.

So now working on spliting the module and the following links will be
of great help if you are doing the same ...
http://groups.google.com/group/Google-Web-Toolkit/browse_thread/thread/951499c5773693c9


http://groups.google.com/group/google-web-toolkit/browse_thread/thread/46cf35719329b30/fc28c8e90f01a070?hl=en&lnk=gst&q=No+source+code+is+available+for+type#fc28c8e90f01a070


On Mar 10, 1:38 am, Muthu <muthulala...@gmail.com> wrote:
> I followed the instructions from the following site
>

> http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis...

Reply all
Reply to author
Forward
0 new messages