No Persistence provider for EntityManager named

前端 未结 30 2055
甜味超标
甜味超标 2020-11-22 03:45

I have my persistence.xml with the same name using TopLink under the META-INF directory. Then, I have my code calling it with:

30条回答
  •  栀梦
    栀梦 (楼主)
    2020-11-22 04:42

    I needed this in my pom.xml file:

    
        org.hibernate
        hibernate-entitymanager
        4.2.6.Final
    
    

提交回复
热议问题