Javadoc from JSF not found in Netbeans

1

I use Netbeans 7.2.1 and wanted to know why only the Javadoc of Java objects (java.lang, java.io, etc) are shown. All other (javax. *) Shows something like:

  

javax. faces. context

     

public abstract class FacesContext extends Object

     

Javadoc was not found. The Javadoc documentation does not exist for this item or you have not added the Javadoc specified in   Java Platform Manager or in the Library Manager.

I have already tried to include the URL link in the Java platform manager Ferramentas > Plataforma java > Javadoc but it did not work.     

asked by anonymous 11.03.2014 / 18:50

1 answer

2

You have done the right thing to add Javadoc to JDK, but not for libraries and components that are outside JDK , such as JSF, referenced in your question.

To add Javadoc to these components in NetBeans, you must first download this Javadoc from the official website of the library or use the library's own Javadoc online. Then create your project in NetBeans. With the project created:

  • Right-click the project and select Properties ;
  • Select Libraries in the left menu;
  • In the Compile tab, select the library you want to add Javadoc;
  • Click the Edit button;
  • Click the Javadoc tab;
  • Add the downloaded file or Javadoc URL;
  • End;
  • 13.03.2014 / 19:11