Community
Participate
Working Groups
Build Identifier: v201007300621N After JPA 2.0 there is an error: Description Resource Path Location Type The persistence.xml file does not have supported content for this JPA platform. persistence.xml /jpatest/src/META-INF Validation Message persistence.xml content: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.0" 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_2_0.xsd"> <persistence-unit name="jpatest"> </persistence-unit> </persistence> My guess is there is no reason for this error Reproducible: Always Steps to Reproduce: 1.New JPA Project 2.Minimal JPA 2.0 configuration 3.Next, Next 4.Platform: Hibernate JPA 2.0 5.Connection: DefaultDS 6.Finish 7. Open persistence.xml (marked as file with error)
Is there anything in your Error Log that might be related?
Marking invalid for now until more info can be gathered.