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 - "Entity from DB" wizard in Maven does not add Java EE API jars to classpath
Summary: "Entity from DB" wizard in Maven does not add Java EE API jars to classpath
Status: RESOLVED DUPLICATE of bug 235059
Alias: None
Product: javaee
Classification: Unclassified
Component: Persistence (show other bugs)
Version: 7.3.1
Hardware: PC Linux
: P3 normal (vote)
Assignee: Sergey Petrov
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-27 00:43 UTC by David Konecny
Modified: 2013-08-28 11:38 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***