Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[eclipselink-users] java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry

We've developed an application using the Eclipselink spatial extensions developed by Doug Clarke's team and we're in the process of porting our applications to the Production JDeveloper release, WebLogic, and Eclipselink.   We're failing when we add the first

 

[pre]

@StructConverter(name = "JGeometry", converter = "org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter") to a bean.

[/pre]

 

with the following error message when we create the first EntityManager.

 

[pre]

]] Root cause of ServletException.

java.lang.NoClassDefFoundError: oracle/spatial/geometry/JGeometry

                at org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter.<clinit>(JGeometryConverter.java:33)

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

                at java.lang.Class.forName(Class.java:247)

                at org.eclipse.persistence.internal.security.PrivilegedAccessHelper.getClassForName(PrivilegedAccessHelper.java:86)

                at org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getClassForName(MetadataHelper.java:52)

                Truncated. see log file for complete stacktrace

[/pre]

 

sdoapi.jar is in the applications WEB-INF/lib/ folder but I assume that this is the same problem that we had using OC4J that was cured by copying sdoapi.jar into the %JDEV_HOME%\lib\java\shared\oracle.toplink.ojdbc\11.1.1.0.0\ folder.

 

Where is org.eclipse.persistence.platform.database.oracle.converters.JGeometryConverter expecting to find the sdoapi.jar file?

 

Thanks

 

Mark

 

Mark Millman | Mizar, LLC | mark.millman@xxxxxxxxx | www.mizar.com | (360) 945-2643

589 S Beach Rd. | Point Roberts, WA 98281

 

The information contained in this communication may be confidential, is intended only for the use of the recipient(s) named above, and may be legally privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this communication, or any of its contents, is strictly prohibited. If you have received this communication in error, please return it to the sender immediately and delete the original message and any copy of it from your computer system. If you have any questions concerning this message, please contact the sender.

 


Back to the top