Error "No persistence.xml file found in project" in Eclipse.
Aim: Create a new project GWT+App engine+Maven
Steps to create this:
- Google eclipse plugin: select "New Web Application Project".
- set the name etc.
- right-click on the project > Configure > Convert to Maven...
- Fix jdoconfig.xml file: xsi has the wrong value. see Validating jdoconfig with incorrect url
Then I get the above error.
The file exists at scr/META-INF/persistence.xml and also war/WEB-INF/classes/META-INF/persistence.xml But is not being found.
Notes: I installed plugins m2e, m2e-wtp and google eclipse plugin