G
Gast
Gast
Hallo,
ich hab das Beispiel aus dem JavaEE Tutorial ausprobiert und bekomme leider Fehler,
Ich hab das Beispiel mit Netbeans ausprobiert.
Weiß jemand, was ich machen muss, um diese Fehler zu beheben?
schönes Wochenende noch,
ich hab das Beispiel aus dem JavaEE Tutorial ausprobiert und bekomme leider Fehler,
Ich hab das Beispiel mit Netbeans ausprobiert.
Weiß jemand, was ich machen muss, um diese Fehler zu beheben?
schönes Wochenende noch,
Code:
C:\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:4: package javax.persistence does not exist
import javax.persistence.Entity;
C:\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:5: package javax.persistence does not exist
import javax.persistence.Id;
C:\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:6: package javax.persistence does not exist
import javax.persistence.Table;
C:\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:9: cannot find symbol
symbol: class Entity
@Entity
C:\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:10: cannot find symbol
symbol: class Table
@Table(name = "WEB_BOOKSTORE_BOOKS")
C:\javaeetutorial5\examples\web\bookstore\src\com\sun\bookstore\database\Book.java:46: cannot find symbol
symbol : class Id
location: class com.sun.bookstore.database.Book
@Id