Maven - 解决“java.security.cert.CertPathValidatorException:路径不与任何信任锚链接”

Maven - 解决“java.security.cert.CertPathValidatorException:路径不与任何信任锚链接”

我正在尝试在 Ubuntu 12.04 机器上构建/安装该项目:

https://bitbucket.org/petermr/pdf2svg

然而:

mvn clean install

由于出现如下错误而无法构建:

Downloading: https://maven.ch.cam.ac.uk/m2repo/org/xml-cml/euclid/1.1-SNAPSHOT/maven-metadata.xml
[WARNING] Could not transfer metadata org.xml-cml:euclid:1.1-SNAPSHOT/maven-metadata.xml from/to ucc-repo (https://maven.ch.cam.ac.uk/m2repo): sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: Path does not chain with any of the trust anchors

根据一些 Google 搜索,该消息显然与 SSL 证书有关,但错误消息的含义让我困惑,更不用说如何解决这个问题了。

相关内容