今天做hibernate关系映射的时候遇到了这样的错误:java.lang.NoSuchMethodError: javax.persistence.OneToOne.orphanRemoval()Z!!上网查看原来是ejb.jar与jpa.jar冲突了!删掉ejb.jar即可!!
Powered by: BlogJava Copyright © 王康