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