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? Kind regards, Paul -----Original Message----- From: Malm Paul Sent: den 1 december 2009 07:10 To: Andrea Aime Cc: [email protected] Subject: Re: [Geotools-gt2-users] EPSG error Thanks Andrea, jai_core is not in the geotools package, or.. do I have to download from some one else? Kind regards, Paul -----Original Message----- From: Andrea Aime [mailto:[email protected]] Sent: den 30 november 2009 16:11 To: Malm Paul Cc: [email protected] Subject: Re: [Geotools-gt2-users] EPSG error Malm Paul ha scritto: > Hi, > I run the program in eclipse and i get the following warning, but it executes. > > 2009-nov-30 15:08:50 org.geotools.factory.FactoryRegistry > scanForPlugins > VARNING: Can't load a service for category "MathTransformProvider". Cause is > "NoClassDefFoundError: javax/media/jai/WarpAffine". > > Then I export the program to a runable jar and gets the following exception: > org.opengis.referencing.NoSuchAuthorityCodeException: Authority "EPSG" is > unknown or doesn't match the supplied hints. Maybe it is defined in an > unreachable JAR file? > > I'm using geotools 2.5.2 with (included in the java build path) > commons-dbpc... > commons-pool... > geoapi-2.3... > gt_api... > gt_data.. > gt_jdbc.. > gt_main... > gt_metadata... > gt_referencing... > jai_codec... > jai_imageio... > jrs-275-1.0.... > jts-1.9... > postgresql-8.1.4.... > vecmath-1.3.1... > gt-epsg-hsql-2.5.2... > hsqldb-1.8.07... You're missing jai_core 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 ------------------------------------------------------------------------------ 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
