Error: No persistence.xml file in project [message #610521] |
Thu, 24 April 2008 20:00 |
Eclipse User |
|
|
|
Originally posted by: ari.meyer.gmail.com
Hi,
I'm using Dali 1.0.2 (latest release available, apparently), and followed
the "Create New JPA Project wizard" (from the Getting Started guide)
several times now to try to get everything working correctly. I'm able to
generate entites, but I keep getting this error: "No persistence.xml file
in project", even though Dali auto-generated it into src/META-INF. Any
ideas? I've even tried moving the META-INF dir directly under the project
folder, as I saw in another online guide, but it still can't seem to find
persistence.xml.
Note: in the wizard I have selected "Annotated classes must be listed in
the persistence.xml", and left "Create orm.xml" unchecked. I'm using
OpenJPA as my provider.
Thanks,
Ari
|
|
|
Powered by
FUDForum. Page generated in 0.03280 seconds