Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我刚刚升级到休眠 3.5.1,现在我收到一个错误消息:
java.lang.NoSuchMethodError: javax.persistence.OneToMany.orphanRemoval () Z.
这只发生在 Tomcat 上,而不是 Jetty。
我查过了,没有任何冲突,这个方法肯定存在。我在类路径上有 hibernate-jpa-2.0-api-1.0.0.Final.jar,并且没有任何冲突的类。
有什么建议么?
出于某种原因,maven tomcat 部署过程正在复制旧的 EJB JAR。当我手动完成时,它工作正常。