users@glassfish.java.net

Re: Please help me with integrating javax.persistence into GlassFish

From: <glassfish_at_javadesktop.org>
Date: Sun, 13 Jul 2008 11:03:08 PDT

Hi,

I think you forgot to add "TopLink Essentials" JARs to the compiler's CLASSPATH. With NetBeans 6.1, you can right click on the "bookstore1" project, select "Properties" option, then select the "libraries" category, press the "add library" button and select the "TopLink Essentials" library.
 
Note: you can also uncheck the "package" option if you want to deploy the project to a GlassFish application server, because it already contains this JPA provider.
[Message sent by forum member 'jmarine' (jmarine)]

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