mvn Spring-boot run 报错Unknown lifecycle phase 收藏 评论
2015年12月04日

[ERROR] Unknown lifecycle phase "spring-boot". You must specify a valid lifecycle phase or a goal in the format <plugin-prefix>:<goal> or <plugin-group-id>:<plugin-artifact-id>[:<plugin-version>]:<goal>. Available lifecycle phases are: validate, initialize, generate-sources, process-sources, generate-resources, process-resources, compile, process-classes, generate-test-sources, process-test-sources, generate-test-resources, process-test-resources, test-compile, process-test-classes, test, prepare-package, package, pre-integration-test, integration-test,post-integration-test, verify, install, deploy, pre-clean, clean, post-clean, pre-site, site, post-site, site-deploy. -> [Help 1][ERROR]



后来发现是写错了:

mvn spring-boot:run

 写成

mvn spring-boot run


官方对这个问题的解决办法:

https://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException



http://blog.webinno.cn/article/view/120

本文地址:http://blog.webinno.cn/article/view/120

发表于 @ 2015年12月04日 | 浏览3118次| 编辑 |评论(loading... ) | 分享到:QQ空间新浪微博腾讯微博微信

评论列表

发表评论