Eclipse does not recognize content of persistence.xml

前端 未结 27 1741
野趣味
野趣味 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:51

    I had the same problem, to make it go away I had to make sure this line was the very first line at the top of the file (with no leading empty lines or spaces):

    
    

提交回复
热议问题