收藏
回答

云托管部署失败是因为什么?

AppID
wxf64337e0a929c126

失败代码是:wxf64337e0a929c126 prod-9g0o4pad3725f922 tid=965846 rid=multi_tenant_1uORHP7lSWDu4n aipbackend ptid=637889 bid=53755713 aipbackend-002


具体显示如下:

Downloaded from tencent: https://mirrors.tencent.com/nexus/repository/maven-public/org/apache/maven/plugins/maven-war-plugin/3.4.0/maven-war-plugin-3.4.0.jar (83 kB at 392 kB/s)

[2025-06-09 09:43:19 #13 6.056 [INFO] ------------------------------------------------------------------------

[2025-06-09 09:43:19 #13 6.056 [INFO] BUILD FAILURE

[2025-06-09 09:43:19 #13 6.056 [INFO] ------------------------------------------------------------------------

[2025-06-09 09:43:19 #13 6.057 [INFO] Total time: 4.911 s

[2025-06-09 09:43:19 #13 6.057 [INFO] Finished at: 2025-06-09T01:43:18Z

[2025-06-09 09:43:19 #13 6.057 [INFO] ------------------------------------------------------------------------

[2025-06-09 09:43:19 #13 6.058 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.4.1:clean (default-clean) on project aipBackend: The plugin org.apache.maven.plugins:maven-clean-plugin:3.4.1 requires Maven version 3.6.3 -> [Help 1]

[2025-06-09 09:43:19 #13 6.058 [ERROR]

[2025-06-09 09:43:19 #13 6.058 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[2025-06-09 09:43:19 #13 6.059 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

[2025-06-09 09:43:19 #13 6.059 [ERROR]

[2025-06-09 09:43:19 #13 6.059 [ERROR] For more information about the errors and possible solutions, please read the following articles:

[2025-06-09 09:43:19 #13 6.059 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginIncompatibleException

[2025-06-09 09:43:19 #13 ERROR: process "/bin/sh -c mvn -s /app/settings.xml -f /app/pom.xml clean package" did not complete successfully: exit code: 1

[2025-06-09 09:43:19] ------

[2025-06-09 09:43:19] > [build 5/5] RUN mvn -s /app/settings.xml -f /app/pom.xml clean package:

[2025-06-09 09:43:19] 6.057 [INFO] Total time: 4.911 s

[2025-06-09 09:43:19] 6.057 [INFO] Finished at: 2025-06-09T01:43:18Z

[2025-06-09 09:43:19] 6.057 [INFO] ------------------------------------------------------------------------

[2025-06-09 09:43:19] 6.058 [ERROR] Failed to execute goal org.apache.maven.plugins:maven-clean-plugin:3.4.1:clean (default-clean) on project aipBackend: The plugin org.apache.maven.plugins:maven-clean-plugin:3.4.1 requires Maven version 3.6.3 -> [Help 1]

[2025-06-09 09:43:19] 6.058 [ERROR]

[2025-06-09 09:43:19] 6.058 [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[2025-06-09 09:43:19] 6.059 [ERROR] Re-run Maven using the -X switch to enable full debug logging.

[2025-06-09 09:43:19] 6.059 [ERROR]

[2025-06-09 09:43:19] 6.059 [ERROR] For more information about the errors and possible solutions, please read the following articles:

[2025-06-09 09:43:19] 6.059 [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginIncompatibleException

[2025-06-09 09:43:19] ------

[2025-06-09 09:43:19] Dockerfile:16

[2025-06-09 09:43:19] --------------------

[2025-06-09 09:43:19] 14 | # 执行代码编译命令

[2025-06-09 09:43:19] 15 | # 自定义settings.xml, 选用国内镜像源以提高下载速度

[2025-06-09 09:43:19] 16 | >>> RUN mvn -s /app/settings.xml -f /app/pom.xml clean package

[2025-06-09 09:43:19] 17 |

[2025-06-09 09:43:19] 18 | # 选择运行时基础镜像

[2025-06-09 09:43:19] --------------------

[2025-06-09 09:43:19] ERROR: failed to solve: process "/bin/sh -c mvn -s /app/settings.xml -f /app/pom.xml clean package" did not complete successfully: exit code: 1

[2025-06-09 09:43:19] [Pipeline] }

[2025-06-09 09:43:19] [Pipeline] // stage

[2025-06-09 09:43:19] [Pipeline] stage

[2025-06-09 09:43:19] [Pipeline] { (推送 Docker 镜像到 TCR)

[2025-06-09 09:43:19] Stage "推送 Docker 镜像到 TCR" skipped due to earlier failure(s)

[2025-06-09 09:43:19] [Pipeline] }

[2025-06-09 09:43:19] [Pipeline] // stage

[2025-06-09 09:43:19] [Pipeline] }

[2025-06-09 09:43:19] [Pipeline] // node

[2025-06-09 09:43:19] [Pipeline] End of Pipeline

[2025-06-09 09:43:19] ERROR: script returned exit code 1

[2025-06-09 09:43:19] Finished: FAILURE

***

-----------构建aip-001-----------

2025-06-09 09:42:55 create_build_image : creating

2025-06-09 09:43:21 check_build_image : fail

最后一次编辑于  星期一 09:46
回答关注问题邀请回答
收藏
登录 后发表内容