[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.dali] error: Invalid content (no root node)
|
Hi
I have an existing WTP java utility project. When I enable the JPA facet
with the Generic platform, no library configuration, automatically
discovering entities, and no orm.xml JPA Content doesn't pick up the
entities and the JPA Structure and JPA details views don't work. When I
validate the project I get the error "Invalid content (no root node)"
without any further information.
My persistence.xml looks like this:
<?xml version="1.0"?>
<persistence xmlns="http://java.sun.com/xml/ns/persistence"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd"
version="1.0">
<persistence-unit name="default">
<provider>org.hibernate.ejb.HibernatePersistence</provider>
</persistence-unit>
</persistence>
Cheers
Philippe