您包括的旧版本
hibernate-commons-annotations,该版本可传递地包括JPA 1.0,该版本与Hibernate
3.5所需的JPA 2.0冲突。
而且,由于Hibernate 3.5,您不再需要包含多个Hibernate构件。你只需要声明
hibernate-entitymanager中
pom.xml,它应该在你的系统是不够的。
也可以看看:
- hibernate兼容性矩阵

您包括的旧版本
hibernate-commons-annotations,该版本可传递地包括JPA 1.0,该版本与Hibernate
而且,由于Hibernate 3.5,您不再需要包含多个Hibernate构件。你只需要声明
hibernate-entitymanager中
pom.xml,它应该在你的系统是不够的。
也可以看看: