Hello,
I'm am trying to follow the instructions at
http://docs.codehaus.org/display/GEOTDOC/01+How+to+Create+a+Geometry, but I
am getting a FactoryNotFoundException. Specifically, the line:
GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory(
null );
is throwing:
Exception in thread "main" org.geotools.factory.FactoryNotFoundException: No
factory of kind "GeometryFactory" found.
at
org.geotools.factory.FactoryRegistry.getServiceProvider(FactoryRegistry.java:374)
at
org.geotools.factory.FactoryCreator.getServiceProvider(FactoryCreator.java:143)
at
org.geotools.geometry.jts.JTSFactoryFinder.getGeometryFactory(JTSFactoryFinder.java:87)
at com.ta.data.db4o.trial.DataGenerator.main(DataGenerator.java:21)
>From the searching and debugging I've tried, it looks like I'm missing a
needed jar file that contains the classes for some factories. Here are the
geotools jars I'm including:
geotools-2.5-RC0/geoapi-2.2-M1.jar
geotools-2.5-RC0/gt-api-2.5-RC0.jar
geotools-2.5-RC0/gt-main-2.5-RC0.jar
geotools-2.5-RC0/jts-1.9.jar
geotools-2.5-RC0/gt-metadata-2.5-RC0.jar
geotools-2.5-RC0/gt-epsg-hsql-2.5-RC0.jar
geotools-2.5-RC0/gt-referencing-2.5-RC0.jar
Thanks for any help,
Craig
--
View this message in context:
http://www.nabble.com/JTSFactoryFinder-FactoryNotFoundException-tp19203508p19203508.html
Sent from the geotools-gt2-users mailing list archive at Nabble.com.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users