1,Could not find artifact org.springframework.boot:spring-boot-maven-plugin:pom:2.2.3.RELEASE in xxxx(企業私服)
原因:公司倉庫中不存在對就的jar包,所以需要到其它中心倉庫中下載
解決:推薦到阿里雲倉庫中下載:
找到maven的配置文件setting.xml
配置maven倉庫鏡像:
<mirrors>
<!-- 阿里雲鏡像 -->
<mirror>
<id>alimaven</id>
<mirrorOf>central</mirrorOf>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
</mirror>
<!-- 中央倉庫1鏡像 -->
<mirror>
<id>repo1</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>https://mvnrepository.com/</url>
</mirror>
</mirrors>
</mirrors>