Hello, Have you got gt-epsg-hsql in the classpath ?
Michael On 23 April 2010 23:07, Sidonie Christophe <[email protected]> wrote: > Dear all, > I still meet problems with compiling my class : it seems that I miss jars. > But gt-metadata and gt-rendering are in the build path... I don't understand > why I always have this error when running, on the line "final > SimpleFeatureType TYPE = DataUtilities.createType(..)" : > > "23 avr. 2010 14:57:20 org.geotools.factory.FactoryRegistry scanForPlugins > ATTENTION: Échec lors de l'initialisation d'un service de catégorie > "CRSAuthorityFactory". La cause est "NoClassDefFoundError: > org/opengis/metadata/citation/OnLineResource". > Exception in thread "main" java.lang.NoClassDefFoundError: > org/opengis/referencing/operation/Operation > at java.lang.ClassLoader.defineClass1(Native Method) > at java.lang.ClassLoader.defineClassCond(Unknown Source) > (......) > at > org.geotools.referencing.factory.epsg.ThreadedHsqlEpsgFactory.createBackingStore(ThreadedHsqlEpsgFactory.java:397) > at > org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore0(ThreadedEpsgFactory.java:384) > at > org.geotools.referencing.factory.epsg.ThreadedEpsgFactory.createBackingStore(ThreadedEpsgFactory.java:421) > 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(Unknown Source) > at javax.imageio.spi.FilterIterator.<init>(Unknown Source) > at javax.imageio.spi.ServiceRegistry.getServiceProviders(Unknown Source) > 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:182) > at org.geotools.referencing.CRS.decode(CRS.java:420) > at org.geotools.referencing.CRS.decode(CRS.java:348) > at > org.geotools.data.DataUtilities.createAttribute(DataUtilities.java:1699) > at org.geotools.data.DataUtilities.createType(DataUtilities.java:1342) > at MethodesGT.Csv2shp.main(Csv2shp.java:67)" > > I use gt-xxxxx-2.6-SNAPSHOT.jar. > > > > > ------------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > > ------------------------------------------------------------------------------ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
