IDEA下载maven依赖报错:Could not transfer artifact org.springframework.boot:spring-boot-maven-plugi
2020-06-21 04:24
260 查看
- 【版权所有,文章允许转载,但须以链接方式注明源地址,否则追究法律责任】
报这个错的原因是证书校验有问题,解决方法如下:
File–>settings–>Build–>Build Tools–>Maven–>Runner
将VM Option换上下边的参数:这样设置可以跳过证书检查,然后maven clean,compile,再install就可以解决这个问题了
-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true
如果帮助到你,顶一下
相关文章推荐
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.4.RELEASE
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:*.*.*.RELEASE
- IDEA工程下载不下来jar包,import maven依赖时提示Could not transfer artifact XXX
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.4.RELEASE
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:1.5.2.RELEASE
- Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.1.9.RELEASE fr
- Could not transfer artifact org.springframework:spring-tx:jar:3.2.3.RELEASE
- Could not transfer artifact org.springframework.xxx:spring-xxx-dependencies
- Could not transfer artifact org.springframework:spring-tx:jar:3.2.3.RELEASE
- idea/ecipse中使用maven集成springmvc相关jar包时候,出错:java.lang.ClassNotFoundException: org.springframework.web.
- Original error: Could not transfer artifact org.apache.maven.plugins:maven-surefire-plugin:pom:2.7.1
- maven+ssm项目报错:org.springframework.beans.factory.BeanCreationException: Could not autowire
- 使用Maven 构建项目的时候 pom.xml 异常:ArtifactTransferException: Failure to transfer org.springframework:spring
- SpringBoot整合ActiveMQ错误:'org.springframework.jms.core.JmsMessagingTemplate' that could not be found.
- IDEA中SpringBoot项目中maven下载依赖成功,但import找不到包
- Could not download spring-boot-autoconfigure.jar (org.springframework.boot: spring-boot-autoconfigur
- maven的pom文件出现:Failed to read artifact descriptor for org.springframework.boot:*** 或其他jar包解决方法
- Maven 工程错误Could not transfer artifact org.codehaus.plexus:plexus-io:pom:2.0.1 from/to central
- 【SpringBoot】RestTemplate调用报错:'org.springframework.web.client.RestTemplate' that could not be found.
- Eclpise2020 maven添加spring依赖失败:Failed to read artifact descriptor for org.springframework:spring-core