Thursday, September 27, 2012

java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval()

Cause:
weblogic and websphere are not able to load the hibernate3.x jar file from the provided WAR file. To resolve this issue , use the following solution
solution is:
Added the hibernate-jpa-2.0-api-1.0.0.Final.jar in the Following path
JAVA_HOME \jre\lib\ext
and also place same jar in  weblogic specific JRE\lib\ext folde

 

0 comments:

Post a Comment