1. 程式人生 > >Springboot項目中Pom.xml報錯

Springboot項目中Pom.xml報錯

xml報錯 pen https idea ID 怎麽 分享 import 項目

摘要:使用idea,兩次在maven上浪費時間,第一次不知道怎麽就解決了,第二次記錄一下解決辦法

情況說明:界面如下圖,pom.xml中存在多個jar,報錯,依賴沒有找到,檢查maven模型以解決問題

參考博客地址:

https://blog.csdn.net/u013129944/article/details/53870373

https://blog.csdn.net/lishaoran369/article/details/53994601

即報錯:dependencies not find the jar,inspects a maven model for resolution problems

技術分享圖片技術分享圖片

解決辦法:

方法:右擊項目或pom.xml->maven->reimport->down sources and documentation

Springboot項目中Pom.xml報錯