Chris S ha scritto:
> I am having an issue resolving this error within geotools across a
> glassfish web service running on linux.
>
> the jars that i have included in my libraries path include:
>
> jts-1.10.jar
> geoapi-2.3-M1.jar
> gt-api-2.6.1.jar
> gt-espg-extension-2.6.1.jar
> gt-espg.wkt-2.6.1.jar
> geoapi-pending-2.3-M1.jar
> gt-metadata-2.6.1.jar
> vecmath-1.3.2.jar
> jsr-275-1.0-beta-2.jar
> gt-espg-hsql-2.6.1.jar
> gt-referencing-2.6.1.jar
> hsqldb-1.8.0.7.jar
>
> i expanded the jar file hsqldb.jar and the
> org.hsqldb.jdbc.jdbcDataSource.class file does exist. so when i deploy
> the web service how come i still get this error when writing the code:
>
> CRS.decode("ESPG:4326")
>
>
> error stack:
>
> Exception in thread "main" java.lang.NoClassDefFoundError:
> org/hsqldb/jdbc/jdbcDataSource
> at
> org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory.createDataSource(ThreadedHsqlEpsgFactory.java:211)
> at
Sounds odd indeed... maybe Glassfish has some tunables to control
classloading? If the jar is there there must be some classloading
issue of some kind
Cheers
Andrea
--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.
------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users