通过idea新建一个springboot项目maven下载jar包报错,使用的是阿里云的仓库

    <mirror>
        <id>nexus-aliyun</id>
        <mirrorOf>*</mirrorOf>
        <name>Nexus aliyun</name>
        <url>http://maven.aliyun.com/nexus/content/groups/public</url>
    </mirror>

报证书的错误

idea生成springboot项目maven下载jar包报证书校验的错误

 

在maven配置中加入下面参数跳过证书检查

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

idea生成springboot项目maven下载jar包报证书校验的错误
 

然后按顺序执行clean,compile,install就可以了

idea生成springboot项目maven下载jar包报证书校验的错误

相关文章:

  • 2021-05-25
  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2021-06-03
猜你喜欢
  • 2021-04-10
  • 2021-12-28
  • 2021-12-28
  • 2022-12-23
  • 2022-01-09
  • 2021-09-12
  • 2021-09-02
相关资源
相似解决方案