Netbeans 说未找到 javadocs

发布于 2024-12-21 04:37:52 字数 335 浏览 3 评论 0原文

我在使用 Netbeans IDE 时遇到一些问题。我安装了 v。 7.0.1,但是现在javadoc的弹出窗口显示:

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.

为什么它没有自动下载JavaDocs?我说的是 Java Platform SE 的组件、方法等。

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.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

若水微香 2024-12-28 04:37:52

转到工具 -> Java 平台

选择您想要的平台并转到 javadoc 选项卡
以及 javadocs 的 url。 http://docs.oracle.com/javase/6/docs/api/< /a> 或 http://docs.oracle.com/javase/7/docs/ api/

在此处输入图像描述

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/

enter image description here

许仙没带伞 2024-12-28 04:37:52

我相信 JDK 中包含 javadoc 但在安装时或安装后出现了问题。所以我使用以下步骤解决了这个问题:
转到

Tools >> Analyze Javadoc  

将出现一个分析器选项卡,其中包含您定义的方法,但没有 javadoc。
选中其复选框,修复所选按钮将启用按下该按钮,问题现在就消失了。
就我而言,removeAllRows() 是没有 javadoc 的方法。
要进一步检查此图片在此处输入图像描述

.
它不会为您自己的方法创建缺失的 javadoc还会修复预定义方法的 javadoc。
如果这不能解决您的问题,那么您应该尝试手动添加 javadoc。

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 imageenter image description here

.
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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文