Hey guys, I'm new at this and I've been trying to use some of the data
reading examples on the website (e.g.
http://geotools.codehaus.org/Data+Reading). Here's the code I have:
import java.net.URL;
import org.geotools.data.shapefile.ShapefileDataStore;
public class NeighborhoodsIndexer {
public static void main(String[] args) throws Exception {
String shpPath = "file:/C:/temp/neighborhoods.shp";
URL shapeURL = new URL(shpPath);
ShapefileDataStore store = new ShapefileDataStore(shapeURL);
}
}
Here's the stack trace:
Exception in thread "main" java.lang.NoSuchFieldError: FEATURE_DETACHED
at
org.geotools.data.shapefile.ShapefileDataStore.<clinit>(ShapefileDataSto
re.java:124)
at
com.dexknows.indexer.NeighborhoodsIndexer.main(NeighborhoodsIndexer.java
:11)
Does anyone know how to overcome this one?
Thanks-
Eric
-------------------------------------------------------------------------
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