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.

Bug 202605

Summary: javax.persistence "invalid package"
Product: javaee Reporter: melsperryn
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED WORKSFORME    
Severity: normal CC: mmirilovic, tzezula
Priority: P3    
Version: 7.0.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter:

Description melsperryn 2011-09-24 09:19:01 UTC
Product Version = NetBeans IDE 7.0.1 (Build 201107282000)
Operating System = Windows Vista version 6.0 running on x86
Java; VM; Vendor = 1.6.0
Runtime = Java HotSpot(TM) Client VM 1.6.0-b105
the ide reports javax.persistence as being an invalid package (I am trying to do the appfuse quickstart tutorial0 and the project has the eclipselink and persistence libraries when I check libraries under tools - the help instruction as to how to access the libraries is hopelessly wrong - there is no "libraries node" for the project.

Tx
Comment 1 Tomas Zezula 2011-09-26 08:05:19 UTC
You need to add the Eclipselink(JPA 2.0) library. Project Properties/Librares/Add Library.