未知的生命周期阶段“高”。您必须指定有效的生命周期阶段

问题描述 投票:0回答:0

当我使用“mvn clean install”目标运行我的 sprint 启动项目时,我收到以下日志,请就这个问题提供帮助。

[INFO] Final Memory: 25M/87M
18:26:48   [INFO] ------------------------------------------------------------------------
18:26:48   [ERROR] Unknown lifecycle phase "High". 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]
18:26:48   [ERROR]
18:26:48   [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
18:26:48   [ERROR] Re-run Maven using the -X switch to enable full debug logging.
18:26:48   [ERROR]
18:26:48   [ERROR] For more information about the errors and possible solutions, please read the following articles:
18:26:48   [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/LifecyclePhaseNotFoundException
18:26:48   Process exited with code 1
18:26:48   Publishing artifacts
18:26:48   Surefire report watcher
18:27:01   Process exited with code 1 

我完全无能为力,正在寻找一些解决方案来解决这个问题。

spring-boot maven-3
© www.soinside.com 2019 - 2024. All rights reserved.