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.
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.
may be a duplicate of 235059 as I see in 235059 the wizard fail to get persistence library
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 ***