Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geogig-dev] ClassNotFoundException javax.media.jai.Warp

JAI is an optional Java Extension, if it is available a few more coordinate reference system transformations should be available.

Oracle has stopped publish the jar (looks to be through neglect rather than on purpose since their website sill links to it). 

You may be able to fetch the jar from a maven repository (such as the one used for geotools http://download.osgeo.org/webdav/geotools/javax/media/ )

On Mon, Feb 15, 2016 at 6:44 AM, <Sieger.Michael@xxxxxx> wrote:

Hi everyone,

 

there seems to be a Problem with a missing library when running an import from PostGIS.

Does someone have a clue whats the problem?

 

The Geogig version:

Project Version : 1.0-RC1a

Build Time : February 02, 2016 at 18:57:22 ART

Build User Name : Gabriel Roldan

Build User Email : groldan@xxxxxxxxxxxxxxxx

Git Branch : r1.0-RC1a

Git Commit ID : cbb51f8ed5d834130b2d43c2f70a0b9a84febf34

Git Commit Time : February 02, 2016 at 16:03:59 ART

Git Commit Author Name : Gabriel Roldan

Git Commit Author Email : groldan@xxxxxxxxxxxxxxxx

Git Commit Message : Set version to 1.0-RC1a

 

The JVM version:

java version "1.8.0_31"

Java(TM) SE Runtime Environment (build 1.8.0_31-b13)

Java HotSpot(TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

 

The command and the exception is below.

 

Regards

Michael Sieger

 

 

C:\Users\sieger.michael\tmp>geogig pg import --host svpgbounce01.intra.swm.de --user nis_readonly --password ###### --database nbk_test --schema bk --all

Importing from database nbk_test

 

Importing adresse          (1/51)...

2016-02-15T15:29:56.616+0100  WARNING  Can't load a service for category "MathTransformProvider". Cause is "ServiceConfigurationError: org.geotools.referencing.operation.MathTransformProvider: Provider org.geotools.referencing.operation.transform.WarpTransform2D$Provider could not be instantiated".

java.util.ServiceConfigurationError: org.geotools.referencing.operation.MathTransformProvider: Provider org.geotools.referencing.operation.transform.WarpTransform2D$Provider could not be instantiated

        at java.util.ServiceLoader.fail(Unknown Source)

        at java.util.ServiceLoader.access$100(Unknown Source)

        at java.util.ServiceLoader$LazyIterator.nextService(Unknown Source)

        at java.util.ServiceLoader$LazyIterator.next(Unknown Source)

        at java.util.ServiceLoader$1.next(Unknown Source)

        at org.geotools.factory.FactoryRegistry.register(FactoryRegistry.java:826)

        at org.geotools.factory.FactoryRegistry.scanForPlugins(FactoryRegistry.java:772)

        at org.geotools.factory.FactoryRegistry.scanForPluginsIfNeeded(FactoryRegistry.java:805)

        at org.geotools.factory.FactoryRegistry.getServiceProviders(FactoryRegistry.java:196)

        at org.geotools.referencing.operation.DefaultMathTransformFactory.getProvider(DefaultMathTransformFactory.java:282)

        at org.geotools.referencing.operation.DefaultMathTransformFactory.getDefaultParameters(DefaultMathTransformFactory.java:316)

        at org.geotools.referencing.factory.epsg.DirectEpsgFactory.createOperationMethod(DirectEpsgFactory.java:2340)

        at org.geotools.referencing.factory.BufferedAuthorityFactory.createOperationMethod(BufferedAuthorityFactory.java:1018)

        at org.geotools.referencing.factory.epsg.DirectEpsgFactory.createCoordinateOperation(DirectEpsgFactory.java:2648)

        at org.geotools.referencing.factory.BufferedAuthorityFactory.createCoordinateOperation(BufferedAuthorityFactory.java:1041)

        at org.geotools.referencing.factory.epsg.DirectEpsgFactory.createCoordinateReferenceSystem(DirectEpsgFactory.java:2008)

        at org.geotools.referencing.factory.BufferedAuthorityFactory.createCoordinateReferenceSystem(BufferedAuthorityFactory.java:783)

        at org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:801)

        at org.geotools.referencing.factory.BufferedAuthorityFactory.createCoordinateReferenceSystem(BufferedAuthorityFactory.java:783)

        at org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:801)

        at org.geotools.referencing.factory.FallbackAuthorityFactory.createCoordinateReferenceSystem(FallbackAuthorityFactory.java:640)

        at org.geotools.referencing.factory.AuthorityFactoryAdapter.createCoordinateReferenceSystem(AuthorityFactoryAdapter.java:801)

        at org.geotools.referencing.factory.ThreadedAuthorityFactory.createCoordinateReferenceSystem(ThreadedAuthorityFactory.java:731)

        at org.geotools.referencing.DefaultAuthorityFactory.createCoordinateReferenceSystem(DefaultAuthorityFactory.java:179)

        at org.geotools.referencing.CRS.decode(CRS.java:520)

        at org.geotools.referencing.CRS.decode(CRS.java:448)

        at org.geotools.jdbc.SQLDialect.createCRS(SQLDialect.java:614)

        at org.geotools.jdbc.JDBCFeatureSource.buildFeatureType(JDBCFeatureSource.java:316)

        at org.geotools.jdbc.JDBCDataStore.createFeatureSource(JDBCDataStore.java:912)

        at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:395)

        at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:360)

        at org.geotools.data.store.ContentDataStore.getFeatureSource(ContentDataStore.java:103)

        at org.locationtech.geogig.geotools.plumbing.ImportOp.getFeatureSource(ImportOp.java:373)

        at org.locationtech.geogig.geotools.plumbing.ImportOp._call(ImportOp.java:184)

        at org.locationtech.geogig.geotools.plumbing.ImportOp._call(ImportOp.java:75)

        at org.locationtech.geogig.api.AbstractGeoGigOp.call(AbstractGeoGigOp.java:133)

        at org.locationtech.geogig.geotools.cli.DataStoreImport.runInternal(DataStoreImport.java:95)

        at org.locationtech.geogig.cli.AbstractCommand.run(AbstractCommand.java:68)

        at org.locationtech.geogig.cli.GeogigCLI.executeInternal(GeogigCLI.java:543)

        at org.locationtech.geogig.cli.GeogigCLI.execute(GeogigCLI.java:385)

        at org.locationtech.geogig.cli.GeogigCLI.main(GeogigCLI.java:340)

Caused by: java.lang.NoClassDefFoundError: javax/media/jai/Warp

        at java.lang.Class.getDeclaredConstructors0(Native Method)

        at java.lang.Class.privateGetDeclaredConstructors(Unknown Source)

        at java.lang.Class.getConstructor0(Unknown Source)

        at java.lang.Class.newInstance(Unknown Source)

        ... 39 more

Caused by: java.lang.ClassNotFoundException: javax.media.jai.Warp

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.net.URLClassLoader$1.run(Unknown Source)

        at java.security.AccessController.doPrivileged(Native Method)

        at java.net.URLClassLoader.findClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)

        at java.lang.ClassLoader.loadClass(Unknown Source)

        ... 43 more


_______________________________________________
geogig-dev mailing list
geogig-dev@xxxxxxxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
http://www.locationtech.org/mailman/listinfo/geogig-dev



--

--
Jody Garnett
Community Lead | Boundless
jgarnett@xxxxxxxxxxxxxxxx
@jodygarnett

http://boundlessgeo.com/


Back to the top