不过,常出现下面的问题:
Note:An exception occurred while getting the javadoc.see log for details.
Note:This element neither has attached source nor attached Javadoc and hence no information could be found.
Note:This element has no attached source and the javadoc could not be found in the attached javadoc
点击javadoc下的open input:
class editor提示找不到对应的rt.jar文件。
you can attach the source by clicking attach source below
那么,点击“attach source”,加载相应文件即可:
选择External file:
如果你安装jdk的话,附加文件的路径是:
C:\Program Files\Java\jdk1.6.0_12\src.zip
OK!一切正常了:
祝好运……
本文详细介绍了在使用MyEclipse编写Java代码时遇到的Javadoc加载错误问题及解决方案,包括如何找到并加载对应的rt.jar文件,以及通过附件源文件来修复问题。





1万+

被折叠的 条评论
为什么被折叠?



