原文:运行maven build报错No goals have been specified for this build.

运行maven报错: ERROR No goals have been specified for this build. You must specify a valid lifecycle phase or a goal in the format : or : : : . Available lifecycle phases are: validate, initialize, genera ...

2016-06-30 10:37 3 21155 推荐指数:

查看详情

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