nested exception is java.lang.NoClassDefFoundError: org/hibernate/ejb/HibernatePersistence

前端 未结 3 1848
忘了有多久
忘了有多久 2021-01-12 18:54

I\'m trying to configure Spring 3.2, JPA 2.0 with Hibernate 4 as the persistence provider. When I try to deploy the application in Weblogic 10.3.5, I get the following erro

3条回答
  •  失恋的感觉
    2021-01-12 19:15

    Based in this maven repository, the hibernate-entitymanager-4.2.2.Final version doesn't exist. Use the 4.2.1.Final also I think you will need to add the other hibernate dependencies like hibernate-core more info about the dependencies here,

提交回复
热议问题