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

mac电脑如何结束应用呢?我使用control+c后,再执行打包命令,报出NoGoalSpecifiedException,实在找不到问题

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


正在回答

3 回答

您好,我也是mac,你查看一下你当前的目录是否在项目的根目录,我打包之后然后运行时可以的。然后我重新打开一个终端,运行打包命令和你一样的错误,查看了下原因是因为没有在项目目录下,你切换到项目目录下然后在执行打包命令看下。

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

举报

0/150
提交
取消

mac电脑如何结束应用呢?我使用control+c后,再执行打包命令,报出NoGoalSpecifiedException,实在找不到问题

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