Skip to main content

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

    Hi, I would recommend putting it higher in your classpath tree in the <weblogic_home>/modules directory which is where org.eclipse.persistence_1.0.0.0_1-1-0.jar is and not off your domain\lib dir.
    (Spatial - not to be confused with the EclipseLink SDO API that is inside eclipselink.jar)

    thank you

Mark Millman wrote:

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



@StructConverter(name = "JGeometry", converter = "") to a bean.



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



]] Root cause of ServletException.

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


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

                at java.lang.Class.forName(


                at org.eclipse.persistence.internal.jpa.metadata.MetadataHelper.getClassForName(

                Truncated. see log file for complete stacktrace



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\\ folder.


Where is expecting to find the sdoapi.jar file?






Mark Millman | Mizar, LLC | mark.millman@xxxxxxxxx | | (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.


_______________________________________________ eclipselink-users mailing list eclipselink-users@xxxxxxxxxxx

Back to the top