Malm Paul ha scritto:
> Hi,
> I downloaded jai_core from Sun. Now there is no warning when running in 
> eclipse, thanks Andrea!
> 
> But I still get this exception when running the exported program:
> 
> org.opengis.referencing.NoSuchAuthorityCodeException: Authority "EPSG" is 
> unknown or doesn't match the supplied hints. Maybe it is defined in an 
> unreachable JAR file?

Hmmm... I don't know exactly what else is wrong, I can
only guess.
The guess you're not using Maven to setup your project
and that either:
- you're mising jars from different GeoTools releases
- you have more than one gt-epsg-xxx-version.jar in your
   classpath

Using mvn dependency:tree on the epsg-hsql module
I got this list of jar required to have it run properly:

[INFO] [dependency:tree {execution: default-cli}]
[INFO] org.geotools:gt-epsg-hsql:jar:2.6-SNAPSHOT
[INFO] +- org.geotools:gt-referencing:jar:2.6-SNAPSHOT:compile
[INFO] |  +- java3d:vecmath:jar:1.3.2:compile
[INFO] |  +- commons-pool:commons-pool:jar:1.5.3:compile
[INFO] |  \- org.geotools:gt-metadata:jar:2.6-SNAPSHOT:compile
[INFO] |     +- org.opengis:geoapi:jar:2.3-M1:compile
[INFO] |     +- org.opengis:geoapi-pending:jar:2.3-M1:compile
[INFO] |     \- net.java.dev.jsr-275:jsr-275:jar:1.0-beta-2:compile
[INFO] +- hsqldb:hsqldb:jar:1.8.0.7:compile
[INFO] +- javax.media:jai_core:jar:1.1.3:provided


Cheers
Andrea

-- 
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to