Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"javaee-endorsed-api-6.0" is missing

Can anyone tell me about this:
The project uses a class library called "javaee-endorsed-api-6.0", but this class library was not found.
I have downloaded javaee-endorsed-api-6.0.jar and click Resolve in netbeans 7.3, add the jar. But it can't resolve. I have searched about this a lot. but i cant find the solution.

like image 625
Somnath Kayal Avatar asked Apr 22 '13 12:04

Somnath Kayal


3 Answers

This resolved my similar issue

  1. Download this jar

    javaee-endorsed-api-6.0.jar
    

    Ensure you copy the jar file to the

    netbeans/enterprise/modules/ext directory
    
  2. Click resolve on netbeans prompt
  3. On the Netbeans ANT library manager create a new Library

    javaee-endorsed-api-6.0
    
  4. Under classpath tab click on add JAR button and select the location in step 1

Once added you can restart netbeans and the issue is no more.

like image 97
PeterH Avatar answered Oct 27 '22 15:10

PeterH


You need to add this as a Library (and not jar). Create a Library with the same name i.e. javaee-endorsed-api-6.0 and add the downloaded javaee-endorsed-api-6.0.jar file into this Library. This will Resolve your problem.

like image 44
CMZala Avatar answered Oct 27 '22 13:10

CMZala


I had the same problem and was able to resolve the problem by editing the file build.properties which is found in the IDE's userdir. For Example on typical windows installation the file is located at C:\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=
like image 39
Kuldeep S Chauhan Avatar answered Oct 27 '22 13:10

Kuldeep S Chauhan