为了账号安全,请及时绑定邮箱和手机立即绑定

cmd中出错


F:\java tool\code\maven01>mvn complie

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------< com.imooc.maven01:maven01-model >-------------------

[INFO] Building maven01-model 0.0.1-SNAPSHOT

[INFO] --------------------------------[ jar ]---------------------------------

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  0.271 s

[INFO] Finished at: 2019-08-14T01:03:23+08:00

[INFO] ------------------------------------------------------------------------

[ERROR] Unknown lifecycle phase "complie". 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]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException

F:\java tool\code\maven01>mvn complie

[INFO] Scanning for projects...

[INFO]

[INFO] ------------------< com.imooc.maven01:maven01-model >-------------------

[INFO] Building maven01-model 0.0.1-SNAPSHOT

[INFO] --------------------------------[ jar ]---------------------------------

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  0.254 s

[INFO] Finished at: 2019-08-14T01:03:31+08:00

[INFO] ------------------------------------------------------------------------

[ERROR] Unknown lifecycle phase "complie". 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]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException

F:\java tool\code\maven01>


正在回答

1 回答

老哥你的 compile打错了吧。。。    你打成complie了

0 回复 有任何疑惑可以回复我~
#1

魔鬼步伐 提问者

已经改回来了,还是这样,
2019-08-14 回复 有任何疑惑可以回复我~
#2

weixin_慕慕6458912 回复 魔鬼步伐 提问者

那就不晓得了??
2019-08-14 回复 有任何疑惑可以回复我~
#3

weixin_慕慕6458912 回复 weixin_慕慕6458912

你要不 clean 一下 再compile试试
2019-08-14 回复 有任何疑惑可以回复我~
#4

魔鬼步伐 提问者 回复 weixin_慕慕6458912

试了没啥用
2019-08-20 回复 有任何疑惑可以回复我~
查看1条回复

举报

0/150
提交
取消
项目管理利器——maven
  • 参与学习       173090    人
  • 解答问题       742    个

使用maven来构建和管理Java项目,从环境配置,到maven核心知识

进入课程

cmd中出错

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信