一、报错信息:

Could not transfer artifact org.apache.maven.plugins:maven-install-plugin:pom:2.4 from/to alimaven (https://maven.aliyun.com/repository/central): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

二、解决

添加参数:

-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true

IDEA解决 Maven:unable to find valid certification path to requested target

然后问题就解决了

相关文章:

  • 2021-12-07
  • 2022-12-23
  • 2022-01-17
  • 2021-11-15
  • 2022-12-23
猜你喜欢
  • 2021-10-18
  • 2021-11-08
  • 2021-09-15
  • 2021-04-11
相关资源
相似解决方案