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
No Need to change andthing in your xml file and no need to add xml in src folder. Put your persistance.xml file in META-INF folder and then put META-INF src/main/resource folder.
Try following approach:
Right click on project> Java Build path > Source Tab > ProjectName/src/main/resource > set Included(All) and Excluded(None).
then clean and build your project. It will work for you. Tried this approach on RAD 7 & 8..5 & Eclipse.