如何解决Eclipse 中引用src.zip报错

 时间:2026-04-23 17:16:20

1、当通过引用src.zip想看JDK标准类的源码时、有时会报如下错误:

“an error occurred while opening the source attachment form ”

“jre\lib\rt.jar is not on its project's build path”

2、 Open project properties. 

如何解决Eclipse 中引用src.zip报错

3、Select Java Build Path node. 

如何解决Eclipse 中引用src.zip报错

4、Select Libraries tab. 

Remove JRE System Library 一次 

如何解决Eclipse 中引用src.zip报错

5、再次 Add Library JRE System Library

之后重新启动eclipse 就可以了。

如何解决Eclipse 中引用src.zip报错

  • 使用dos命令创建文件的内容
  • HBuilder关闭使用传统windows窗口样式
  • 如何下载windows版本的Redis?
  • 如何在mongodb中删除集合
  • phpstudy如何查看mysql的配置文件
  • 热门搜索
    呼伦贝尔旅游景点 王莽岭旅游攻略 马来西亚旅游签证 海边旅游哪里好 德国旅游买什么 贵州最佳旅游景点 贵州旅游景点介绍 东莞旅游团 河北省旅游网 上虞旅游