m0_71019540 2022-08-31 22:55 采纳率: 0%
浏览 41

Mac配置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, 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/NoGoalSpecifiedException

  • 写回答

2条回答 默认 最新

  • Comed1an_ 2022-09-01 09:09
    关注

    删除maven仓库位置(可能是\org\apache\maven\plugins)此目录下的所有文件,然后重新build,如:mvn clean

    评论

报告相同问题?

问题事件

  • 创建了问题 8月31日