Eclipse does not recognize content of persistence.xml

前端 未结 27 1747
野趣味
野趣味 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 21:10

    I got it fixed by dragging META-INF folder to src/main/resources and drag it back to src/test/resources. Thats all it took for me to fix the issue. I tried above given all steps but none of those seem to be working for me and finally this one done the trick.

提交回复
热议问题