Eclipse does not recognize content of persistence.xml

前端 未结 27 1748
野趣味
野趣味 2021-01-30 20:44

Im getting the following error in eclipse:

The persistence.xml file does not have recognized content.

My persistence.xml file works great in my application but e

27条回答
  •  粉色の甜心
    2021-01-30 20:47

    I've had the same problem. My solution: right click on the persistence.xml file -> JPA-Tools -> Synchronize Class List. After that it was resolved.

提交回复
热议问题