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