为了方便查看java源代码,而需要在Eclipse中集成反编译插件,步骤如下:

1. Help->Eclipse Marketplace...。

Eclipse下载反编译插件报错Unable to read repository at https://ecd-plugin.github.io/update/content.xml问题解决

 

2. 在搜索框中输入Decompiler,搜索到Enhanced Class Decompiler 3.1.1,点击Install。

Eclipse下载反编译插件报错Unable to read repository at https://ecd-plugin.github.io/update/content.xml问题解决

 

install之后报如下错误:

Unable to read repository at https://ecd-plugin.github.io/update/content.xml.

Eclipse下载反编译插件报错Unable to read repository at https://ecd-plugin.github.io/update/content.xml问题解决

 

发现之前安装并配置给IDE的是JDK1.7,之后从Oracle官网下载了JDK1.8.0,更换环境变量以及IDE配置之后,即可安装插件成功。

 

3. 接受条款+Finish。

Eclipse下载反编译插件报错Unable to read repository at https://ecd-plugin.github.io/update/content.xml问题解决

 

4. 安装过程中会遇到以下提示,直接选OK即可。

Eclipse下载反编译插件报错Unable to read repository at https://ecd-plugin.github.io/update/content.xml问题解决

 

5.最后在java代码中,Ctrl+类名即可跳转到源码页面。

Eclipse下载反编译插件报错Unable to read repository at https://ecd-plugin.github.io/update/content.xml问题解决

 

相关文章:

  • 2021-11-12
  • 2021-08-08
  • 2021-08-22
  • 2022-01-07
  • 2021-09-06
  • 2021-11-11
  • 2021-10-22
猜你喜欢
  • 2021-08-27
  • 2021-12-22
  • 2022-02-08
  • 2021-11-13
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案