What version of GeoTools are you running?

To get rid of this warning please drop the gt2-arcsde jar from your 
application (if are not using it lose it).
To check what jars you need you can follow the instructions on the wiki 
for - http://docs.codehaus.org/display/GEOTDOC/04+How+to+Read+a+Shapefile
I have replied to your message on the user list; hope that is not a problem.

Jody
> Hi,
>
> My primary aim was to read a shapefile, and i'm doing that succesfully. but
> this warning is popping up every time i run the program.
> How on earth do i get rid of this warning?
>
>
> Mar 7, 2008 10:23:30 AM org.geotools.data.db2.DB2DataStoreFactory
> isAvailable
> INFO: DB2 driver found: false
> Mar 7, 2008 10:23:30 AM org.geotools.arcsde.ArcSDEDataStoreFactory
> isAvailable
> WARNING: ArcSDE Java API seems to not be on your classpath. Please verify
> that all needed jars are. ArcSDE data stores will not be available.
> java.lang.NoClassDefFoundError
>       at
> org.geotools.arcsde.ArcSDEDataStoreFactory.class$(ArcSDEDataStoreFactory.java:49)
>       at
> org.geotools.arcsde.ArcSDEDataStoreFactory.isAvailable(ArcSDEDataStoreFactory.java:323)
>       at
> org.geotools.data.DataStoreFinder.getAvailableDataStores(DataStoreFinder.java:120)
>       at 
> org.geotools.data.DataStoreFinder.getDataStore(DataStoreFinder.java:84)
>       at src.ShapefileRead.main(ShapefileRead.java:39)
> Caused by: java.lang.ClassNotFoundException:
> com.esri.sde.sdk.client.SeConnection
>       at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
>       at java.security.AccessController.doPrivileged(Native Method)
>       at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
>       at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
>       at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
>       at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
>       at java.lang.Class.forName0(Native Method)
>       at java.lang.Class.forName(Class.java:169)
>       ... 5 more
>
>
> TIA
>
>   



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to