No Persistence provider for EntityManager named

前端 未结 30 2015
甜味超标
甜味超标 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:40

    Try also copying the persistence.xml manually to the folder \bin\META-INF. This fixed the problem in Eclipse Neon with EclipseLink 2.5.2 using a simple plug-in project.

提交回复
热议问题