Could not transfer artifact org.springframework.boot:spring-boot-starter-parent:pom:2.0.3.RELEASE
connect timed out and 'parent.relativePath' points at no local POM
倆個步驟解決
1、設置maven-settings.xml 中的鏡像爲阿里鏡像,默認的好像無法下載
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
2、注意切換公司內網,這是個坑,最後直接用手機熱點解決的
3、eclipse操作:
run as --> mvn compile
mvn --> update project