What version of Eclipse are you using? I just tried to run the tutorial code that you mentioned before and had no trouble. I did have to click on my side bar in eclipse and import the below files:
package com.stephenlwalsh.mapstest.client; import com.google.gwt.core.client.EntryPoint; import com.google.gwt.maps.client.InfoWindowContent; import com.google.gwt.maps.client.MapWidget; import com.google.gwt.maps.client.control.LargeMapControl3D; import com.google.gwt.maps.client.geom.LatLng; import com.google.gwt.maps.client.overlay.Marker; import com.google.gwt.user.client.ui.RootPanel; This will go just below the first line of your code. Give that a try and see if it works. Stephen Walsh On Tue, Nov 17, 2009 at 10:35, Brady <[email protected]> wrote: > The gwt-maps jar is already on my classpath. > > > > On Nov 13, 6:14 pm, Stephen Walsh <[email protected]> wrote: > > [image: > > > ?ui=2&view=att&th=124f03f8d7f16d84&attid=0.1&disp=attd&realattid=ii_124f03f8d7f16d84&zw] > > You > > can build out a plain project like this. > > [image: > > > ?ui=2&view=att&th=124f03fa2c8235e6&attid=0.1&disp=attd&realattid=ii_124f03fa2c8235e6&zw] > > Then > > use the add JARs link from the properties window to add your library > files. > > > > Hope that helps you. > > Stephen Walsh > > > > On Fri, Nov 13, 2009 at 14:34, Stephen Walsh <[email protected] > >wrote: > > > > > Brady, > > > > > If you right-click on your project and select "Properties" you can add > an > > > external JAR file. Or better yet, create a new plain folder and put > all of > > > your jar files in there. Then you can reference the library. I'm at > work > > > and can't send you a screen shot of my setup, but let me know if you > need > > > any other help on how to make that happen. I had the same trouble > trying to > > > include the AJAX search api for GWT. > > > > > On Thu, Nov 12, 2009 at 11:01, Brady <[email protected]> wrote: > > > > >> I am using the google plugin for eclipse. The getting started page > > >> that you referenced, itself references the GWT startup instructions > > >> for GWT 1.5. The projectCreator and applicationCreator utilities seem > > >> to be no longer a part of the newer versions. What steps should > > >> replace the ones that reference those scripts? > > > > >> On Nov 12, 7:26 am, Eric Ayers <[email protected]> wrote: > > >> > Official getting started page: > > > > >> > > http://code.google.com/docreader/#p=gwt-google-apis&s=gwt-google-apis. > > >> .. > > > > >> > If you are not using the Google Plugin for eclipse, you may have to > > >> > carefully setup your run configuration. > > > > >> > On Tue, Nov 10, 2009 at 4:05 PM, Brady <[email protected]> wrote: > > >> > > I've been trying to build a simple GWT app using GWT-maps.jar, > like > > >> > > the one at: > > >> > > > http://gwttutorials.com/2009/07/28/setting-up-google-maps-with-gwt/ > > > > >> > > Despite following the instructions, I still get error messages > like > > >> > > this one: > > >> > > No source code is available for type > > >> > > com.google.gwt.maps.client.geom.LatLng; did you forget to inherit > a > > >> > > required module? > > > > >> > > I cannot find anything wrong with my application.gwt.xml file, > which > > >> > > includes the following lines: > > > > >> > > <inherits name='com.google.gwt.maps.GoogleMaps'/> > > >> > > <script src=' > > >> > >http://maps.google.com/maps?gwt=1&file=api&v=2'/ > > > > >> > > I have also made sure that the gwt-maps.jar is on my build path. > > > > >> > > I would appreciate any guidance about where to look for problems. > > >> > > Thanks. > > > > >> > > -- > > > > >> > > You received this message because you are subscribed to the Google > > >> Groups > > >> > > "Google Web Toolkit" group. > > >> > > To post to this group, send email to > > >> [email protected]. > > >> > > To unsubscribe from this group, send email to > > >> > > [email protected]<google-web-toolkit%[email protected]> > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > >> <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > > > >> > > . > > >> > > For more options, visit this group at > > >> > >http://groups.google.com/group/google-web-toolkit?hl=. > > > > >> > -- > > >> > Eric Z. Ayers > > >> > Google Web Toolkit, Atlanta, GA USA > > > > >> -- > > > > >> You received this message because you are subscribed to the Google > Groups > > >> "Google Web Toolkit" group. > > >> To post to this group, send email to > [email protected]. > > >> To unsubscribe from this group, send email to > > >> [email protected]<google-web-toolkit%[email protected]> > <google-web-toolkit%[email protected]<google-web-toolkit%[email protected]> > > > > >> . > > >> For more options, visit this group at > > >>http://groups.google.com/group/google-web-toolkit?hl=. > > > > > -- > > > Stephen Walsh > > > > > > > > project_list.JPG > > 24KViewDownload > > > > properties window.JPG > > 82KViewDownload > > -- > > You received this message because you are subscribed to the Google Groups > "Google Web Toolkit" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-web-toolkit%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-web-toolkit?hl=. > > > -- You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to [email protected]. 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=.
