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
just solved the issue by doing this:
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence persistence_2_0.xsd"
i added at the top.
i clean build the project. error's gone.
i added the "h ttp://java.sun.com/xml/ns/persistence/" again:
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_2_0.xsd"
i clean build the project. error's not there.
i deleted at the top.
i clean build the project. error's still not there.
hope this helps someone in the future.