Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.8.2:deploy (default-deploy) on project xxx: Failed to retrieve remote metadata cn.xxx.xxx:1.0.0-SNAPSHOT/maven-metadata.xml: Could not transfer metadata cn.xxx.xxx:1.0.0-SNAPSHOT/maven-metadata.xml from/to xxx-snapshot (https://nexus.xxx.cn/nexus/content/repositories/snapshots/): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target -> [Help 1]
问题:
IDEA 在deploy的时候报错,提示证书问题
解决方案:
查看一下是不是在deploy的时候开启了fiddler这类软件,或者因为需要抓取https包而开启了某些软件,关闭即可