如何解决Eclipse 2020-06中所有“红帽”附加组件的“无法读取存储库”
我已经在Windows 10下安装了Eclipse 2020-06,并且还可以从Eclipse Oxygen识别和“更新”我的项目。
我需要安装Red Hat Tools,并且它或其他Red Hat附加组件的安装都无法正常工作。一切都因“无法读取存储库”而失败。
例如,我尝试同时使用Eclipse Marketplace和“帮助安装新软件”进行安装:
JBoss工具,Code Ready Studio和我得到了:
Unable to read repository at https://devstudio.redhat.com/12/stable/composite/12.16.0/compositeContent.xml
Unable to read repository at https://download.jboss.org/jbosstools/oxygen/updates/content.xml
Unable to read repository at https://download.jboss.org/jbosstools/photon/updates/content.xml
Unable to read repository at https://download.jboss.org/jbosstools/2020-06/updates/content.xml
Connection to http://download.jboss.org/jbosstools/photon/staging/updates/central/4.16.0.Final/p2.index failed on Received fatal alert: internal_error. Retry attempt 0 started
所有尝试在错误日志中显示以下内容:
javax.net.ssl.SSLException: Received fatal alert: internal_error
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:129)
at java.base/sun.security.ssl.Alert.createSSLException(Alert.java:117)
当我使用“安装新软件”时,一旦我选择了(与Red Hat有关的)“使用”项,就会出现上述错误。
我可以使用Eclipse“嵌入式”浏览器访问互联网。在“安装新软件”中,我可以选择非Red Hat软件包并查看所有可用模块。我已经删除了位于p2 \ org.eclipse.equinox.p2.repository \ cache的缓存,并且已经删除并添加了Red Hat Tools的源代码(如上所述)。
我的搜索结果产生了许多较旧的帖子,并提出了代理导致问题的建议,但我看不出情况如何。在没有代理的家庭网络上失败了,并且运行Eclipse的Windows 10系统没有设置代理。
有人可以建议为什么这失败吗?
谢谢。
解决方法
非常感谢howlger!我的JDK安装错误。我从头开始,安装了AdoptOpenJDK的.msi,安装了Eclipse,终于能够安装CodeReady Studio(包括Jboss工具)。再次非常感谢!
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。