In a standalone app that can't see the default location for the HSQL EPSG
data I get
Exception in thread "main" java.lang.NoSuchMethodError:
org.geotools.referencing.factory.epsg.FactoryUsingHSQL.setValidationQuery(Lj
ava/lang/String;)V
at
org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore
0(ThreadedEpsgFactory.java:384)
at
org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore
(ThreadedEpsgFactory.java:421)
at
org.geotools.referencing.factory.DeferredAuthorityFactory.getBackingStore(De
ferredAuthorityFactory.java:132)
at
org.geotools.referencing.factory.BufferedAuthorityFactory.isAvailable(Buffer
edAuthorityFactory.java:233)
at
org.geotools.referencing.factory.DeferredAuthorityFactory.isAvailable(Deferr
edAuthorityFactory.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:4
91)
at
org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.jav
a:196)
at
org.geotools.referencing.ReferencingFactoryFinder.getFactories(ReferencingFa
ctoryFinder.java:176)
at
org.geotools.referencing.ReferencingFactoryFinder.getCRSAuthorityFactories(R
eferencingFactoryFinder.java:451)
at
org.geotools.referencing.DefaultAuthorityFactory.getBackingFactory(DefaultAu
thorityFactory.java:88)
at
org.geotools.referencing.DefaultAuthorityFactory.<init>(DefaultAuthorityFact
ory.java:69)
at
org.geotools.referencing.CRS.getAuthorityFactory(CRS.java:182)
at org.geotools.referencing.CRS.decode(CRS.java:420)
at org.geotools.referencing.CRS.decode(CRS.java:348)
at
com.onomylabs.WWGeoConnectable.layers.Earth.Irving2007WMSLayer.convertBoundi
ngBox(Irving2007WMSLayer.java:148)
...
If I swap the 2.5.4 gt-epsg-hsql.jar back in it works fine. If I run in a
way that the database can be seen (inside netbeans FWIW) and use the 2.5.5
version it works ok, presumably because it doesn't need to recreate the
database on the fly
Thanks,
Dale.
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables
unlimited royalty-free distribution of the report engine
for externally facing server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users