Maven:unable 找到请求目标的有效证书路径
Maven:unable to find valid certification path to requested target
我尝试mvn clean install
che-orion-editor时出现这个错误,版本是5.22.0.
Plugin org.apache.maven.plugins:maven-patch-plugin:1.1.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-patch-plugin:jar:1.1.1: Could not transfer artifact org.apache.maven.plugins:maven-patch-plugin:pom:1.1.1 from/to codenvy-public-repo (https://maven.codenvycorp.com/content/groups/public/): sun.security.validator.ValidatorException: PKIX path building failed
: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
-> [Help 1]
我已经正确设置了maven代理。
我试过this,没用。
正如@weizenkeim hugo所说,我在linux中搜索导入证书的方式。
只需两步:
- 获取根证书
- 将该证书添加到 java cacerts 文件
而 link 是 here
我尝试mvn clean install
che-orion-editor时出现这个错误,版本是5.22.0.
Plugin org.apache.maven.plugins:maven-patch-plugin:1.1.1 or one of its dependencies could not be resolved: Failed to read artifact descriptor for org.apache.maven.plugins:maven-patch-plugin:jar:1.1.1: Could not transfer artifact org.apache.maven.plugins:maven-patch-plugin:pom:1.1.1 from/to codenvy-public-repo (https://maven.codenvycorp.com/content/groups/public/): sun.security.validator.ValidatorException:
PKIX path building failed
: sun.security.provider.certpath.SunCertPathBuilderException:unable to find valid certification path to requested target
-> [Help 1]
我已经正确设置了maven代理。
我试过this,没用。
正如@weizenkeim hugo所说,我在linux中搜索导入证书的方式。
只需两步:
- 获取根证书
- 将该证书添加到 java cacerts 文件
而 link 是 here