首页 > 系统服务 > 详细

【转】使用Eclipse,将鼠标放在相应方法或字段等元素上时,无法显示提示

时间:2019-03-23 12:47:26      阅读:278      评论:0      收藏:0      [点我收藏+]

使用Eclipse编写java代码时,将鼠标放在相应方法或字段等元素上时,会有对应的说明或提示。

 不过,常出现下面的问题:

 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

技术分享图片

现在就一切正常了:

技术分享图片

 

原文链接http://www.it610.com/article/2610234.htm

【转】使用Eclipse,将鼠标放在相应方法或字段等元素上时,无法显示提示

原文:https://www.cnblogs.com/lsjava/p/10583336.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!