Netbeans says javadocs not found

扶醉桌前 提交于 2019-12-18 13:27:07

问题


I have some problems with Netbeans IDE. I installed v. 7.0.1, but now the pop-up windows of the javadoc say:

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

Why didn't it auto-download the JavaDocs? I'm talking about component, method etc etc.. of Java Platform SE.


回答1:


Go to Tools -> Java Platforms

Select the platform that you want and go to the javadoc tab and the url to the javadocs. either http://docs.oracle.com/javase/6/docs/api/ or http://docs.oracle.com/javase/7/docs/api/




回答2:


I believe JDK include javadoc in it But something went wrong either at the time of installation or later. So I solved this issue using these steps:
Goto

Tools >> Analyze Javadoc  

An Analyzer tab will appear with the method/s that you defined and have no javadoc.
Select its checkbox and Fix Selected Button will enable press that button and problem is now gone.
In my case removeAllRows() is the method that has no javadoc.
For further check this image

.
It does not create missing javadoc for your own methods But also fix javadoc for predefined methods.
If this does not solve your problem than you should try adding javadoc manually.



来源:https://stackoverflow.com/questions/8504572/netbeans-says-javadocs-not-found

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!