[英]Glassfish on Eclipse. An error occurred while collecting items to be installed
[英]Installing Saros in Eclipse Neon “An error occurred while collecting items to be installed”
我正在尝试在Eclipse Neon中安装Saros( http://www.saros-project.org/ )但反复收到以下错误详细信息:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://downloads.sourceforge.net/dpp/de.fu_berlin.inf.dpp_14.10.31.jar?use_mirror=dfn.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Unable to read repository at http://downloads.sourceforge.net/dpp/de.fu_berlin.inf.dpp.core_0.1.0.jar?use_mirror=dfn.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
Unable to read repository at http://downloads.sourceforge.net/dpp/de.fu_berlin.inf.dpp.whiteboard_14.10.31.jar?use_mirror=dfn.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
我已经尝试了所有可以找到的解决方案,所有这些解决方案似乎都集中在此页面上: 如何处理Eclipse的“找不到包含以下内容的存储库:”错误消息? 但似乎没有任何改变。
我的电脑正在运行MacOS Sierra,我的Eclipse版本是用于Web开发人员的Eclipse Java EE IDE版本:Neon.2发行版(4.6.2)
关于我接下来可以尝试的其他任何建议?
谢谢!
2016年12月,Sourceforge引入了自动转发到HTTPS服务器(即使使用HTTP输入URL),使用“Let's Encrypt”证书。 较旧的Java版本(低于Java 8u101和Java 7u111)无法识别“Let's Encrypt”的根证书,这会导致出现错误消息(没有“有效的证书路径”)。
但是:截至目前,Sourceforge似乎已经转向“GeoTrust”证书,即使对于较旧的Java版本也应该没有问题。
所以首先要检查 :尝试再次安装Saros。 你还得到证书错误吗?
如果由于某种原因问题仍然存在,您有两种选择:
简单方法:不是从更新站点安装Saros,而是使用dropin而不是使用更新站点。 项目网站上有一个方法: 安装Saros作为dropin的说明
不确定的方式:您可以尝试找出哪个证书颁发机构(CA)颁发了您转发到的HTTPS服务器使用的证书。 (例如,将错误消息中的一个HTTP URL键入Web浏览器,等到重定向到HTTPS URL,然后检查证书信息 - 通常是地址栏旁边的绿色锁图标。)如果您有CA的名称,可能有网站解释如何将其根证书添加到您的Java设置(类似于这个 ,它给出了“Let's Encrypt”案例的一些提示)。
更新(2017-03-31):
我从其他人那里听说Sourceforge的问题仍然存在。 作为安装Saros作为dropin(上面的选项1)的替代方法,您还可以使用我在Heroku上托管的辅助Eclipse更新站点: https : //get-saros.herokuapp.com/eclipse
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.