Hi, I export my project to a runnable jar in eclipse, but I don't seem to get
the gt-epsg jarfile in the exported jar.
Getting this error when running the exported jar:
INFO: -----------------------------------------------
org.opengis.referencing.NoSuchAuthorityCodeException: Authority "EPSG" is
unknown or doesn't match the supplied hints. Maybe it is defined in an
unreachable JAR file?
at
org.geotools.referencing.factory.ManyAuthoritiesFactory.noSuchAuthority(ManyAuthoritiesFactory.java:488)
at
org.geotools.referencing.factory.ManyAuthoritiesFactory.getAuthorityFactory(ManyAuthoritiesFactory.java:466)
at
org.geotools.referencing.factory.ManyAuthoritiesFactory.getCRSAuthorityFactory(ManyAuthoritiesFactory.java:547)
at
org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:798)
at
org.geotools.referencing.factory.ThreadedAuthorityFactory.createCoordinateReferenceSystem(ThreadedAuthorityFactory.java:729)
at
org.geotools.referencing.DefaultAuthorityFactory.createCoordinateReferenceSystem(DefaultAuthorityFactory.java:179)
at org.geotools.referencing.CRS.decode(CRS.java:437)
at org.geotools.referencing.CRS.decode(CRS.java:365)
at
org.geotools.pdf2shape.ShapeFileWriter2.createFeatureType(ShapeFileWriter2.java:42)
at
org.geotools.pdf2shape.ShapeFileWriter2.shapeFileWriter(ShapeFileWriter2.java:84)
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users