persistence.xml file not detected on restart [message #600069] |
Wed, 13 June 2007 01:15 |
Brian Fernandes Messages: 68 Registered: July 2009 |
Member |
|
|
To reproduce:
1) Choose a JPA project which has no validation issues. Restart eclipse.
2) Bring up the context menu for this project and select Validate.
3) Observe the "No persistence.xml file in project" error marker on the
project.
4) Invoke the Validate action again, marker disappears.
If I had opened an entity in the Java editor before step 2 and waited for
the JPA synchronization to complete, then validating the project in step 2
does not result in any markers for the project.
I used a bare bones JPA project with persistence.xml at
src/META-INF/persistence.xml under the project root. I tried with other JPA
projects and could still reproduce this issue.
Brian.
|
|
|
Powered by
FUDForum. Page generated in 0.02982 seconds