users@glassfish.java.net

Re: Glassfish V3 - Could not resolve persistence unit....

From: <glassfish_at_javadesktop.org>
Date: Thu, 07 Jan 2010 20:32:55 PST

I'll see if I can create another project and use it for a test case. Unfortunately I cannot post the project that's currently giving me problems.

The short version of the story is I have a JPA project in eclipse that is packaged in an EAR project in the lib folder. If I move the persistence.xml out of the JPA project and put it in a jar containing only that file and stick it in the lib of the EAR it deploys fine.

Right now I have [url=http://forums.java.net/jive/thread.jspa?threadID=71033&tstart=0]bigger issues [/url] that I could use some help with and once those are resolved I'll see if I can come up with a test project that fails to deploy in Eclipse.
[Message sent by forum member 'cain05' (cain05_at_gmail.com)]

http://forums.java.net/jive/thread.jspa?messageID=379506