users@glassfish.java.net

Re: <exclude-unlisted-classes>false</exclude-unlisted-classes>

From: <glassfish_at_javadesktop.org>
Date: Mon, 19 Nov 2007 08:42:49 PST

Where is your persistence.xml relative to your classes?

Try putting it in a META-INF directory with the same base as your classes.

e.g.

Lets say you have class foo.Bar and it is in a directory called "classes". Make your directory structure look as follows:

classes
   - foo
       - Bar.class
   - META-INF
       - persistence.xml
[Message sent by forum member 'tware' (tware)]

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