Tomcat error with Hibernate 3.51 / Java EE 6

Posted by DD on Stack Overflow See other posts from Stack Overflow or by DD
Published on 2010-06-10T09:04:16Z Indexed on 2010/06/10 10:53 UTC
Read the original article Hit count: 344

Filed under:
|
|

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?

© Stack Overflow or respective owner

Related posts about hibernate

Related posts about tomcat