Thank you guys for your time! But unfortunately both of you are incorrect.
First try: i removed the "import javax.persistence.*;" statement and replaced all occurrencies of the Entity, Table and Id annotations with the full names, i.e. javax.persistence.Entity, but the project didn't compile. I get the same error "package javax.persistence does not exist"
Second try: I opened all the required project (this is only the bookstore project). It already had the Toplink Essentials package included in its Library section. I compiled, and nothing happened. Here's the screenshot:
http://img140.imageshack.us/my.php?image=jpaproblemri7.jpg
However, keep trying and giving good ideas! :) Maybe it will work some day....
[Message sent by forum member 'recursion' (recursion)]
http://forums.java.net/jive/thread.jspa?messageID=286535