原文:運行Maven時報錯:No goals have been specified for this build

Nogoalshavebeenspecifiedforthisbuild.Youmustspecifyavalidlifecyclephaseoragoalintheformat lt plugin prefix gt : lt goal gt or lt plugin group id gt : lt plugin artifact id gt : lt plugin version gt : ...

2017-06-19 15:41 1 2471 推薦指數:

查看詳情

Maven錯誤:“No goals have been specified for this build...”問題解決

如圖出現如下錯誤: 解決方法如下: 1、(未測試)在pom.xml添加如下配置: 2、直接在運行的命令行上加入: 錯誤分析: 其實使用命令行時就已經指定了phase,而使用m2eclipse的【Run As】-【Maven build】時並未為其指定 ...

Wed Feb 08 18:35:00 CST 2017 0 2669
 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM