第一次使用MAVEN编译项目,出现如下错误

MAVEN ERROR: unable to find valid certification path to requested target 解决办法

解决办法:Maven的setting.xml中添加如下代码

<mirrors>     
    <mirror> 
        <id>Central</id> 
        <url>http://repo1.maven.org/maven2</url> 
        <mirrorOf>central</mirrorOf> 
    </mirror>
</mirrors>


 

 

相关文章:

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