To be clear, I added the following dependencies:
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-render</artifactId>
<version>${geotools.version}</version>
</dependency>
<dependency>
<groupId>org.geotools</groupId>
<artifactId>gt-swing</artifactId>
<version>${geotools.version}</version>
</dependency>
Now all imports resolve :-)
Andy
http://www.geog.leeds.ac.uk/people/a.turner/
-----Original Message-----
From: Michael Bedward [mailto:[email protected]]
Sent: 29 September 2009 13:04
To: Andy Turner
Cc: geotools users
Subject: Re: [Geotools-gt2-users] quickstart and example pages
Hi Andy,
> It still has problems with:
> import org.geotools.map.DefaultMapContext;
> import org.geotools.map.MapContext;
> import org.geotools.swing.JMapFrame;
> import org.geotools.swing.data.JFileDataStoreChooser;
>
OK - the first two are in the gt-render module and the second two are
in the gt-swing module. They must be missing from the pom (so much for
my web page proof-reading skills !)
Add those in and see how you go.
cheers
Michael
------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users