Thomas Zuberbühler a écrit :
> org.opengis.referencing.NoSuchAuthorityCodeException: This factory only 
> understand EPSG codes
>       at
> org.geotools.referencing.crs.EPSGCRSAuthorityFactory.createCoordinateReferenceSystem(EPSGCRSAuthorityFactory.java:161)
>       at 
> GeoToolsTest.testCreatingCoordinateReferenceSystem(GeoToolsTest.java:38)

This error message suggests that you have "epsg-wkt" in your classpath (the
"epsg-hsql" module doesn't format the error message in the same way, and the
"EPSG:" prefix is optional in "epsg-hsql" while it is mandatory with 
"epsg-wkt").

I don't know if "21781" is provided in "epsg-wkt"; it may be worth to try
removing it from the classpath in order to make sure that it does not stand in
the way of "epsg-hsql".

        Martin

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to