![](/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.