This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
[build 20070402] Steps: 1) create web project with Tomcat target server 2) generate entity classes from DB 3) build project ERROR: the build failed with error: /tmp/WebApplication1/src/java/org/model/Customer.java:13: package javax.persistence does not exist import javax.persistence.Column; /tmp/WebApplication1/src/java/org/model/Customer.java:14: package javax.persistence does not exist import javax.persistence.Entity; The Toplink library isn't added on project classpath when the PU is created.
*** This issue has been marked as a duplicate of 101529 ***