Hi

I have a problem compiling bookstore1 sample in the j2ee tutorial. Below is
the error message:

Compiling 11 source files to
D:\Experiment\JEE\javaeetutorial5\examples\web\bookstore\build\classes
D:\Experiment\JEE\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:13:
package javax.persistence does not exist
import javax.persistence.Entity;
D:\Experiment\JEE\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:14:
package javax.persistence does not exist
import javax.persistence.Id;
D:\Experiment\JEE\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:15:
package javax.persistence does not exist
import javax.persistence.Table;
D:\Experiment\JEE\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:18:
cannot find symbol
symbol: class Entity
@Entity
D:\Experiment\JEE\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:19:
cannot find symbol
symbol: class Table
@Table(name = "WEB_BOOKSTORE_BOOKS")
D:\Experiment\JEE\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:55:
cannot find symbol
symbol  : class Id
location: class com.sun.bookstore.database.Book
    @Id
6 errors
BUILD FAILED (total time: 3 seconds)


I have tried to add toplink library, and populate the database, but still
fail to build successfully. Any help appreciated.

Cheers
Kris

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Java 
EE (J2EE) Programming with Passion!" group.
To post to this group, send email to 
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to 
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to