I had the same problem, and I was able to solve it by editing the file build.propertieswhich is in the userdir IDE. For example, in a typical Windows installation, the file is located atC:\Users\Kuldeep\AppData\Roaming\NetBeans\7.4
Edit the file and add the following line:
libs.javaee-endorsed-api-6.0.classpath=C:\\Program Files\\NetBeans 7.4\\enterprise\\modules\\ext\\javaee-api-6.0.jar
libs.javaee-endorsed-api-6.0.maven-pom=
libs.javaee-endorsed-api-6.0.src=
source
share