1. 程式人生 > >Springboot The requested profile "pom.xml" could not be activated because it doesn't not exists

Springboot The requested profile "pom.xml" could not be activated because it doesn't not exists

後來 close vat 配置 cau activate pre 很多 pes

頭一次寫springboot項目,打成war包時,pom.xml也都配置了,網上查了很多資料說是maven環境和java環境的問題,但是看了後沒有發現什麽問題,刪了maven下的.m2maven庫再重載也沒有什麽卵用,

後來在項目上右擊 -->propreties -->maven 點擊Pestore Defaults 把文本框的pom.xml給清空,然後Applly and close 保存並退出,再次打包。項目下的target下就有了war包。

Springboot The requested profile "pom.xml" could not be activated because it doesn't not exists