Eclipse Neon 4.6:“收集要安装的项目时发生错误”

时间:2016-12-26 20:37:53

标签: java eclipse

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://sourceforge.net/projects/jautodoc/files/updatesite/1.14.0/net.sf.jautodoc_1.14.0.jar/download.
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://sourceforge.net/projects/jautodoc/files/updatesite/1.14.0/net.sf.jautodoc.velocity_1.14.0.jar/download.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

我刚刚安装了Neon 4.6并尝试添加jautodoc ..

2 个答案:

答案 0 :(得分:1)

新旧的JRE安装中新的Sourceforge SSL证书和缺少的根证书存在问题。看到 http://magicmonster.com/kb/prg/java/ssl/pkix_path_building_failed.html 详情。

我可以在使用Java 8u92运行Eclipse时重现错误。它适用于Java 8u112。

您可以更新您的JRE或从8u112下载并解压缩此keystore并更新您的" eclipse.ini"如下:

-vmargs
-Djavax.net.ssl.trustStore =<你的路径> \ cacerts
-Djavax.net.ssl.trustStorePassword =的changeit

答案 1 :(得分:0)

我遇到了同样的问题,发现可以通过从https://sourceforge.net/projects/jautodoc/files/latest/download下载压缩版本的JAutoDoc并打开存档来解决问题。

关闭eclipse并从eclipse中的features文件夹中删除以下文件夹(如果存在):

net.sf.jautodoc.feature_1.14.0

以及eclipse中plugins文件夹中的以下任何文件(如果它们存在(有些在安装失败期间安装):

net.sf.jautodoc_1.14.0.jar
net.sf.jautodoc.velocity_1.14.0.jar

现在重新启动eclipse并验证JAutoDoc肯定不存在,然后再次关闭eclipse。现在将上面命名的文件从下载的存档中复制回plugins / features文件夹,然后再次启动eclipse。 JAutoDoc现在应该再次出现

相关问题