【发布时间】:2019-02-20 08:50:16
【问题描述】:
我在安装 eclipse 后设置它。我执行 Window -> Preferences -> Maven -> Discovery-> Open Catalog 并选择 m2e-checkstyle 并尝试安装它。它引发以下错误。我在 linux box 上使用 eclipse 氧气。
Operation details
Cannot complete the install because one or more required items could not be found.
Software being installed: Checkstyle configuration plugin for M2Eclipse 1.0.0.201705301746 (com.basistech.m2e.code.quality.checkstyle.feature.feature.group 1.0.0.201705301746)
Missing requirement: Checkstyle configuration plugin for M2Eclipse 1.0.0.201705301746 (com.basistech.m2e.code.quality.checkstyle.feature.feature.group 1.0.0.201705301746) requires 'net.sf.eclipsecs.core 5.2.0' but it could not be found
【问题讨论】:
-
您可能必须先安装主要的 Checkstyle 插件。它正在寻找的
net.sf.eclipsecs.core插件是主要 Checkstyle 安装的一部分。 -
当我尝试从市场安装 checkstyle 插件时,我得到了这个。
-
无法读取位于 checkstyle.org/eclipse-cs/update/content.xml 的存储库。 sun.security.validator.ValidatorException:PKIX 路径构建失败:sun.security.provider.certpath.SunCertPathBuilderException:无法找到请求目标的有效证书路径
-
看起来像 stackoverflow.com/questions/50999593/eclipse-plugin-checkstyle 的副本。那也从来没有得到回答。以下问题对您有帮助吗? github.com/checkstyle/eclipse-cs/issues/86
标签: java eclipse eclipse-plugin checkstyle eclipse-oxygen