zoukankan      html  css  js  c++  java
  • java 提示----This element has no attached source and the Javadoc could not be found in the attached Javadoc

    This element has no attached source and the Javadoc could not be found in the attached Javadoc。

    【注意:此元素没有附加源代码,也无法在附加的 Javadoc 中找到 Javadoc。】

    解决方法:

    用eclipse时,用鼠标在代码上移动时,尤其是当鼠标移动到方法名上的时候,就会在鼠标附近自动弹出一个信息栏,里面写着这个方法是在哪个类里定义的,以及这个方法的类型,注释。

    今天打开Eclipse发现把鼠标悬停在某个系统类上不再弹出这些提示了,并给出如下的提示:

    Note: This element has no attached source and the Javadoc could not be found in the attached Javadoc

    这样的问题怎么解决?

    在主菜单栏中,选择【Window】-->【Preferences】子菜单;   
    在【General】-->【Editors】--->【File Associations】;  
    在右侧【File types】点【Add...】按钮在弹出的对话框中输入*.doc后缀名,点击确定就可以了。

    当然,如果有些朋友嫌突然弹出的窗口妨碍视线还影响思路,关闭方法如下:

     Window(窗口)->Preferences(首选项)->Java->Editor(编辑器)->Hovers(悬浮提示) 将[Combined Hover](组合的悬浮提示)取消即可 。

  • 相关阅读:
    WebRTC中的NetEQ
    VoIP基本原理
    NetEQ主要文件简介
    声纹识别
    杂记(2019.04.13)
    概率论基础复习
    机器学习复习:模型评估指标
    传统机器学习算法复习:逻辑回归、因子分解机和梯度提升树
    Tensorflow中循环神经网络及其Wrappers
    einsum:爱因斯坦求和约定
  • 原文地址:https://www.cnblogs.com/lingyi1111/p/4520729.html
Copyright © 2011-2022 走看看