You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Google App Engine部署出错,如何将gcloud --no-cache传入Maven App Engine插件?

问题:Google App Engine部署失败,需在Maven App Engine插件中传入--no-cache参数

环境与问题背景

  • App Engine Standard 环境
  • Java 17 运行时
  • 使用捆绑API
  • Maven App Engine插件版本:2.4.4、2.5.0
  • gcloud CLI版本:452.0.0
  • 该部署任务数月前可正常执行,当前触发部署时失败

Cloud Build报错详情

Step #2 - "build": ERROR: failed to initialize analyzer: getting previous image: getting config file for image "eu.gcr.io/PROJECTID/app-engine-tmp/app/default/ttl-18h:latest": GET https://storage.googleapis.com/eu.artifacts.PROJECTID.appspot.com/containers/images/sha256:036aff03ac31731663e8aee494f16b733e1c56e31b329b9db470007802a361e7?access_token=REDACTED: unexpected status code 404 Not Found: NoSuchKeyThe specified key does not exist.No such object: eu.artifacts.PROJECTID.appspot.com/containers/images/sha256:036aff03ac31731663e8aee494f16b733e1c56e31b329b9db470007802a361e7
Finished Step #2 - "build"
ERROR
ERROR: build step 2 "eu.gcr.io/gae-runtimes/buildpacks/google-gae-22/java/builder:java_20231016_RC00" failed: step exited with non-zero status: 1

需求

需实现将gcloud --no-cache参数传入Maven App Engine插件的方法,以尝试解决上述部署失败问题。

内容的提问来源于stack exchange,提问作者MuadDib

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.07 20:56:27