Tomcat error with Hibernate 3.51 / Java EE 6
- by DD
I just upgraded to hibernate 3.51 and I get an error now saying:
java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval () Z.
This only happens with Tomcat not with Jetty.
I've checked and I don't have any conflict and this method definitely exists. I have hibernate-jpa-2.0-api-1.0.0.Final.jar on the class path, and dont have any conflicting classes.
Any suggestions?