JGeometryConverter: java.lang.NoClassDefFoundError in GlassFish 3.0.1

(Doc ID 1246034.1)

Last updated on SEPTEMBER 21, 2017

Applies to:

Oracle TopLink - Version and later
Information in this document applies to any platform.
The application server used is: Glassfish 3.0.1 which is shipped with EclipseLink 2.0.2 using NetBeans 6.9.1 IDE.


This is a run-time issue where the following exception is reported:

java.lang.NoClassDefFoundError: Could not initialize class org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter

Caused by: java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry
at org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter.<clinit>(JGeometryConverter.java:33)

Glassfish console would throw the error as:

WARNING: ACDEPL112: Error attempting to process extensions from the manifest of JAR file C:\glassfish-3.0.1\glassfish\domains\domain1\generated\xml\TestCoord\TestCoord-app-client_jar\sdoapi.jar; ignoring it and continuing
java.io.FileNotFoundException: C:\glassfish-3.0.1\glassfish\domains\domain1\generated\xml\TestCoord\TestCoord-app-client_jar\sdoapi.jar (The system cannot find the file specified)


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms