Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Dali » error: Invalid content (no root node)
error: Invalid content (no root node) [message #617609] Wed, 16 September 2009 13:19
Philippe Marschall is currently offline Philippe Marschall
Messages: 120
Registered: July 2009
Senior Member
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
Previous Topic:Dali Galileo - Entities and properties naming stragety
Next Topic:optional property listener
Goto Forum:
  


Current Time: Mon Jul 28 00:30:46 EDT 2014

Powered by FUDForum. Page generated in 0.01702 seconds