idea创建springBoot项目遇到的问题
读取pom.xml出现Could not transfer artifactorg.springframework.boot:spring-boot-starter-par的解决方法
使用https://start.spring.io/创建了一个springboot程序
用IDEA导入项目的pom.xml后出现一堆红
如下图:
解决方法:
将这段:-Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true 放入maven>Runner中。
这样设置可以跳过证书检查,然后maven clean,compile,再install就可以解决这个问题了