|Re: Not finding persistence.xml from linked resource [message #638576 is a reply to message #638309]
||Thu, 11 November 2010 16:40
| Paul Fullbright
Registered: July 2009
Firstly, Larry, since you are talking about configuring EclipseLink metadata within the Eclipse IDE, I'd like to refer you to the Dali forum:|
Dali is the Eclipse project that provides tooling for EclipseLink/JPA/JAXB metadata configuration.
Secondly, the short answer is that it *should* work, but it depends a little on what version of Dali/WTP you're using and how you have your project configured.
The most likely solution is that in the process of removing your source folder and re-adding/linking it, you lost the deploy path mapping for your "src" folder. In your project properties, under the "Deployment Assembly" node you should see an entry that maps the "/src" source path to the "/" deploy path. If not, add it, and the persistence.xml should be found. If not, please respond with the version of Dali/WTP you're using and whatever other details you can give us about how your project is configured (over in the Dali forum, kindly).
Powered by FUDForum
. Page generated in 0.03319 seconds