錯誤提示如下:maven 相關包下載不下來
Could not transfer artifact org.apache.maven.surefire:maven-surefire-common:
Could not transfer artifact org.springframework.boot:spring-boot-loader-tools:pom:2.2.4.RELEASE from/to central (http://repo.maven.apache.org/maven2): Failed to transfer file: http://repo.maven.apache.org/maven2/org/springframework/boot/spring-boot-loader
請 添加國內鏡像 阿里雲
打開maven下的conf\settings.xml
然後到<mirrors>裏面添加
<mirror>
<id>nexus-aliyun</id>
<mirrorOf>*</mirrorOf>
<name>Nexus aliyun</name>
<url>http://maven.aliyun.com/nexus/content/groups/public</url>
</mirror>