一直都報(bào)The goal you specified requires a project to execute but there is no POM in this directory 的錯(cuò)誤,求大神指教
一直都報(bào)The goal you specified requires a project to execute but there is no POM in this directory 的錯(cuò)誤,求大神指教
一直都報(bào)The goal you specified requires a project to execute but there is no POM in this directory 的錯(cuò)誤,求大神指教
2016-05-14
舉報(bào)
2019-04-26
這個(gè)問題確實(shí)是由GitHub上代碼多了一層目錄導(dǎo)致的,正常GitHub上點(diǎn)擊倉(cāng)庫(kù)名后應(yīng)該直接顯示src、target、pom.xml才是正確的。我的解決辦法是刪掉本地上層文件夾,然后將代碼直接放在與.git文件夾并列的地方,重新push項(xiàng)目到遠(yuǎn)程倉(cāng)庫(kù),Jenkins再次構(gòu)建就好了~
2017-06-06
當(dāng)前目錄不是根目錄,需切換至根目錄
2016-09-19
Me Too.
2016-05-15
有幾種可能,第一種是你的pom.xml中的架包配置順序可能出錯(cuò),也有可能你創(chuàng)建的不是maven web項(xiàng)目;