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 235060

Summary: "Entity from DB" wizard in Maven does not add Java EE API jars to classpath
Product: javaee Reporter: David Konecny <dkonecny>
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED DUPLICATE    
Severity: normal CC: mjanicek
Priority: P3    
Version: 7.3.1   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:

Description David Konecny 2013-08-27 00:43:18 UTC
I had a Maven project generated by http://forge.jboss.org which was almost empty and I decided to generate JPA entity classes from a DB. All worked fine but after Java files generation all javax.persistence imports are marked as erroneous because maven project does not have Java EE API on its classpath.
Comment 1 Sergey Petrov 2013-08-27 05:23:44 UTC
may be a duplicate of 235059  as I see in 235059  the wizard fail to get persistence library
Comment 2 Sergey Petrov 2013-08-28 11:38:32 UTC
David, feel free to reopen, but it may have no sense to investigate separately from random npe issue

*** This bug has been marked as a duplicate of bug 235059 ***