不过,常出现下面的问题:
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
![error](http://img.bimg.126.net/photo/BiGBF-zHuDtnGK9fG4nVWQ==/5728015776061994810.jpg)
![javadocerror](http://img.bimg.126.net/photo/d_lRXJJ_CdvAapPavMpkzA==/5728015776061994811.jpg)
点击javadoc下的open input:
![2](http://img.bimg.126.net/photo/jMfewH8O9LAAb7RhEAL7nw==/5728015776061994812.jpg)
class editor提示找不到对应的rt.jar文件。
you can attach the source by clicking attach source below
那么,点击“attach source”,加载相应文件即可:
![source attach](http://img.bimg.126.net/photo/Gax-7oM5q-WJADeJVA6Gig==/5728015776061994813.jpg)
选择External file:
如果你安装jdk的话,附加文件的路径是:
C:\Program Files\Java\jdk1.6.0_12\src.zip
![jdksrc](http://img.bimg.126.net/photo/GHm_ilWptE7EA4KlFWArYg==/5728015776061994814.jpg)
OK!一切正常了:
![提示正常](http://img.bimg.126.net/photo/G0KTt5Xg10SShu8MUKwypQ==/5728015776061994815.jpg)
ok!