I've changed to geotools 2.6.0 but it is the same and yhis is what I have 
in my runnable jar in META-INF\services can uou see if something is missing?

org.geotools.referencing.operation.MathTransformProvider
org.opengis.referencing.crs.CRSAuthorityFactory
org.opengis.referencing.crs.CRSFactory
org.opengis.referencing.cs.CSAuthorityFactory
org.opengis.referencing.cs.CSFactory 
org.opengis.referencing.datum.DatumAuthorityFactory
org.opengis.referencing.datum.DatumFactory
org.opengis.referencing.operation.CoordinateOperationAuthorityFactory
org.opengis.referencing.operation.CoordinateOperationFactory
org.opengis.referencing.operation.MathTransformFactory
java.sql.Driver
com.vividsolutions.xdo.SchemaBuilder
org.geotools.data.DataSourceFactorySpi
org.geotools.data.FeatureLockFactory
org.geotools.feature.AttributeTypeFactory
org.geotools.feature.FeatureCollections
org.geotools.feature.FeatureTypeFactory
org.geotools.filter.expression.PropertyAccessorFactory
org.geotools.styling.StyleFactory
org.geotools.util.ConverterFactory
org.geotools.xml.schema.Schema
org.opengis.feature.FeatureFactory
org.opengis.filter.expression.Function
org.opengis.filter.FilterFactory
org.geotools.data.jdbc.datasource.DataSourceFactorySpi
org.geotools.data.jdbc.datasource.UnWrapper
org.geotools.renderer.style.ExternalGraphicFactory
org.geotools.renderer.style.MarkFactory
org.opengis.filter.capability.FunctionName
org.opengis.geometry.aggregate.AggregateFactory
org.opengis.geometry.complex.ComplexFactory
org.opengis.geometry.coordinate.GeometryFactory
org.opengis.geometry.PositionFactory
org.opengis.geometry.primitive.PrimitiveFactory


-----Original Message-----
From: Andrea Aime [mailto:[email protected]] 
Sent: den 1 december 2009 10:07
To: Michael Bedward
Cc: Malm Paul; [email protected]
Subject: Re: [Geotools-gt2-users] EPSG error

Michael Bedward ha scritto:
> No sorry - I meant if it was missing from Paul's jar.  He said "Then I 
> export the program to a runable jar"

Aah, I missed that part. Yeah, definitely something worth checking.
Paul, if you look at the original jars the META-INF/services folder contain a 
number of plain text files which are used for the GeoTools plugin system, they 
have to be there in the single jar as well otherwise the EPSG factory won't be 
picked up.

Cheers
Andrea

--
Andrea Aime
OpenGeo - http://opengeo.org
Expert service straight from the developers.

------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing. 
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to