spring-boot-maven-plugin引入出現(xiàn)爆紅(已解決)
換了一臺(tái)電腦,重新進(jìn)行idea安裝配置。然后打開(kāi)原來(lái)的項(xiàng)目結(jié)果引入spring-boot-maven-plugin出現(xiàn)爆紅,而且spring-boot-starter-parent也不能引入。
二、解決辦法1.檢查環(huán)境配置,主要是settings.xml此文件配置情況是否正確,是否加入阿里云鏡像。最好用idea工具打開(kāi)檢查一下是否規(guī)范,此次我的問(wèn)題就出在settings.xml報(bào)錯(cuò)了(網(wǎng)上隨意復(fù)制粘貼了一個(gè))。settings.xml配置文件以及idea工具打開(kāi)查看的方式如下所示。

<?xml version='1.0' encoding='UTF-8'?><settings xmlns='http://maven.apache.org/SETTINGS/1.0.0' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd'><!-- 配置本地倉(cāng)庫(kù)地址 --><!--<localRepository>E:mavenrepository</localRepository>--><!-- 配置下載Jar包的鏡像倉(cāng)庫(kù)地址 --><mirrors> <mirror> <id>alimaven</id> <name>aliyun maven</name> <url>http://maven.aliyun.com/nexus/content/groups/public/</url> <mirrorOf>central</mirrorOf> </mirror> <mirror> <id>uk</id> <name>Human Readable Name for this Mirror.</name> <url>http://uk.maven.org/maven2/</url><mirrorOf>central</mirrorOf> </mirror> <mirror> <id>nexus</id> <name>internal nexus repository</name> <url>http://repo.maven.apache.org/maven2</url> <mirrorOf>central</mirrorOf> </mirror></mirrors><profiles><!-- 下載源代碼和Javadoc --><profile><id>downloadSources</id><properties><downloadSources>true</downloadSources><downloadJavadocs>true</downloadJavadocs></properties></profile></profiles><!-- 激活在profiles的配置項(xiàng) --><activeProfiles><activeProfile>downloadSources</activeProfile></activeProfiles></settings>
2.檢查代碼是否出錯(cuò),加上具體版本號(hào)。
參考:https://blog.csdn.net/weixin_41988224/article/details/104388981
到此這篇關(guān)于spring-boot-maven-plugin引入出現(xiàn)爆紅(已解決)的文章就介紹到這了,更多相關(guān)spring-boot-maven-plugin爆紅內(nèi)容請(qǐng)搜索好吧啦網(wǎng)以前的文章或繼續(xù)瀏覽下面的相關(guān)文章希望大家以后多多支持好吧啦網(wǎng)!
相關(guān)文章:
1. ASP新手必備的基礎(chǔ)知識(shí)2. CentOS郵箱服務(wù)器搭建系列——SMTP服務(wù)器的構(gòu)建( Postfix )3. PHP基礎(chǔ)之生成器4——比較生成器和迭代器對(duì)象4. asp文件用什么軟件編輯5. Vue axios獲取token臨時(shí)令牌封裝案例6. 利用CSS制作3D動(dòng)畫(huà)7. golang中json小談之字符串轉(zhuǎn)浮點(diǎn)數(shù)的操作8. js實(shí)現(xiàn)計(jì)算器功能9. 通過(guò)IEAD+Maven快速搭建SSM項(xiàng)目的過(guò)程(Spring + Spring MVC + Mybatis)10. JS中6個(gè)對(duì)象數(shù)組去重的方法

網(wǎng)公網(wǎng)安備