云引擎Java-SpringBoot项目创建lean up报错

[INFO] Current CLI tool version:  0.28.2
[INFO] Java runtime detected
[INFO] Retrieving app info ...
[INFO] Current app:xxx (xxx)
[INFO] Use [mvn jetty:run] to start the project
[INFO] The project is running at: http://localhost:3000
[INFO] Cloud function debug console (if available) is accessible at: http://localhost:3001
[INFO] Scanning for projects...
Downloading from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloading from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloaded from central: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-metadata.xml (14 kB at 9.1 kB/s)
Downloaded from central: https://repo.maven.apache.org/maven2/org/codehaus/mojo/maven-metadata.xml (20 kB at 13 kB/s)
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  2.470 s
[INFO] Finished at: 2021-11-09T18:03:56+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] No plugin found for prefix 'jetty' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories [local (/Users/xxxxx/.m2/repository), central (https://repo.maven.apache.org/maven2)] -> [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/NoPluginFoundForPrefixException

是按照文档一步步进行的 请教官方人员

Spring Boot 暂不支持 lean up,如需在本地启动项目,可以修改项目中的 local.sh 脚本,填入相应的环境变量(lean env 可获取相应的环境变量的值),然后通过运行 local.sh 的脚本的方式在本地启动,参见 README 的说明

感谢反馈问题,我们后续会更新文档,在文档中注明这一点。

1 人赞了这个帖子.

现在 spring boot 模板项目也支持 lean up 了(请使用 lean-cli 最新版)