> Despite the GeoTools Quickstart example runs just fine the code from Rafal
> Rusin throws a large list of warnings wich i'm uncapable of understand or
> trace.
>
>
Lets have a look … the GeoTools "factory finder" classes look up
implementations on the class path (hunting for META_INF/services/<file> in each
jar).
The "service configuration error" may represent a mistake on our part … where
the library was expecting one type, but the implementation provided does not
implement the required interface.
> mar 14, 2013 9:47:59 PM org.geotools.factory.FactoryRegistry scanForPlugins
> WARNING: Can't load a service for category "FileDataStoreFactorySpi". Cause
> is "ServiceConfigurationError: org.geotools.data.FileDataStoreFactorySpi:
> Provider org.geotools.data.shapefile.ShapefileDataStoreFactory not a subtype".
> java.util.ServiceConfigurationError:
> org.geotools.data.FileDataStoreFactorySpi: Provider
> org.geotools.data.shapefile.ShapefileDataStoreFactory not a subtype
>
>
So for this one gt-shapefile is providing the implementation as:
public class ShapefileDataStoreFactory extends AbstractDataStoreFactory
implements FileDataStoreFactorySpi {
(So that looks correct … it implements FileDataStoreFactorySpi ).
Can I ask if you have accidentally combined jars from two versions of GeoTools
or if environment is using class loaders or something?
Jody------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
GeoTools-GT2-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users