![](/img/trans.png)
[英]MESSAGE Checkstyle-Plugin: unable to parse configuration stream
[英]Installing Checkstyle-Plugin (7.2.0) for Eclipse Neon fails
我嘗試通過將提供的鏈接從http://eclipse-cs.sourceforge.net/#!/拖到我的Eclipse窗口中,來為我的Eclipse for Java Developers
捆綁包Eclipse for Java Developers
安裝checkstyle-Plugin。
不幸的是,這導致以下錯誤:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,net.sf.eclipsecs.branding,7.2.0.201611072237
No repository found containing: osgi.bundle,net.sf.eclipsecs.checkstyle,7.2.0.201611072237
No repository found containing: osgi.bundle,net.sf.eclipsecs.core,7.2.0.201611082201
No repository found containing: osgi.bundle,net.sf.eclipsecs.doc,7.2.0.201611082205
No repository found containing: org.eclipse.update.feature,net.sf.eclipsecs,7.2.0.201611082205
No repository found containing: osgi.bundle,net.sf.eclipsecs.ui,7.2.0.201611072237
知道我該如何解決嗎?
使用Marketplace安裝它也不起作用。 它失敗了:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at https://sourceforge.net/projects/eclipse-cs/files/updatesite/7.2.0/plugins/net.sf.eclipsecs.doc_7.2.0.201611082205.jar.
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 https://sourceforge.net/projects/eclipse-cs/files/updatesite/7.2.0/features/net.sf.eclipsecs_7.2.0.201611082205.jar.
sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
您需要將網絡根SSL證書安裝到JRE CACERTS中。 對於任何JAVA PKIX SSL認證,您都可以遵循本指南。
如何獲得根證書?
現在您已經有了根證書!
如何將此證書安裝到JRE CACERTS中?
在繼續進行之前,請確認您已完全找到給出此錯誤的jre。 很多時候,IDE使用與它捆綁在一起的jre而不是系統jre。 就我而言,我將所有IDE都指向了系統Java安裝。
keytool-導入-noprompt -trustcacerts-別名別名-文件
/ PATH / TO /您的/DESKTOP/CertificateName.cer-密鑰庫/ PATH / TO /您的/ JDK / jre / lib / security / cacerts -storepass changeit
現在,您的問題已解決! 重新啟動您的IDE並檢查結果。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.