2016-12-26 158 views
1
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 

我剛安裝了霓虹燈4.6和嘗試添加jautodoc ..Eclipse的霓虹燈4.6:

回答

0

我有同樣的問題「同時收集物品被安裝出現的錯誤」,並發現它可以通過以下方式解決從https://sourceforge.net/projects/jautodoc/files/latest/download下載zip版本的JAutoDoc並打開存檔。

關閉Eclipse並移除了Eclipse中的功能文件夾下面的文件夾,如果它存在:

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現在應該再次出現

1

這是新的Sourceforge SSL證書和舊JRE安裝中缺少根證書的問題。有關詳細信息,請參閱 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