java - 如何解决 "This element has no attached source and the Javadoc could not be found in the attached Javadoc"?

标签 java android eclipse

我不知道执行此操作的确切方法。我想要一种方法,而不是针对 Eclipse 中所有项目的单个项目。请告诉我如何解决这个问题。

最佳答案

这是在 Eclipse 中的类路径中的一个 jar,你有

  1. 附加了一个 Eclipse 出于某种原因不喜欢的 javadoc zip。

  2. 未附加有效的源 jar。

最简单的方法是右键单击有问题的 jar(在引用的 jar 中,而不是物理 jar 中)并选择 Preferences -> Javadoc。此处为正确的 javadoc 提供正确的位置(zip/URL)。请记住使用“验证”按钮以确保正确设置。

关于java - 如何解决 "This element has no attached source and the Javadoc could not be found in the attached Javadoc"?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6106179/

相关文章:

Java - 相对文件夹创建与非编译代码和可执行文件有何不同

java - Spring , thymeleaf : redirecting to <select> value

eclipse - java中导入无法解决错误

eclipse - WSO2 ESB Eclipse 插件

java - Java中的多行工具提示?

android - 如何在 Ionic3、Cordova 和 Angular4 应用程序中获取 android 设备的语言?

c# - Xamarin.Android SQLite.NET 重复列名称 : ID

android - IntentService与Activity的交互——Android

java - 从 Xuggler 中的帧获取视频

java - 以 Java 6 为目标并使用 JDK 7 编译器时如何抑制引导类路径警告