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
org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore0(ThreadedEpsgFactory.java:375)
        at
org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:423)
        at
org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(DeferredAuthorityFactory.java:132)
        at
org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(BufferedAuthorityFactory.java:233)
        at
org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(DeferredAuthorityFactory.java:119)
        at
org.geotools.factory.FactoryRegistry.isAvailable(FactoryRegistry.java:668)
        at
org.geotools.factory.FactoryRegistry.isAcceptable(FactoryRegistry.java:500)
        at
org.geotools.factory.FactoryRegistry$1.filter(FactoryRegistry.java:191)
        at
javax.imageio.spi.FilterIterator.advance(ServiceRegistry.java:793)
        at javax.imageio.spi.FilterIterator.<init>(ServiceRegistry.java:787)
        at
javax.imageio.spi.ServiceRegistry.getServiceProviders(ServiceRegistry.java:491)
        at
org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:196)
        at
org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFactoryFinder.java:176)
        at
org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(ReferencingFactoryFinder.java:451)
        at
org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAuthorityFactory.java:88)
        at
org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFactory.java:69)
        at org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:197)
        at org.geotools.referencing.CRS.decode(CRS.java:435)
        at org.geotools.referencing.CRS.decode(CRS.java:363)
        at com.radiancetech.dss5.server.Main.main(Main.java:80)

i would appreciate help resolving this issue. thanks!

CS
------------------------------------------------------------------------------
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

Reply via email to