首页 > 解决方案 > 新的 Java Spring Boot 项目应用程序引擎部署失败,错误代码为 13

问题描述

GCLOUD:错误:(gcloud.app.deploy)错误响应:[13] App Engine Flexible 未能持久化 backend_service_id。

我正在使用所有者帐户来部署项目并启用计费。

runtime: java
env : flex
inbound_services: 
- warmup
derived_file_type:
- java_precompiled

runtime_config: 
  jdk: openjdk8

liveness_check:
  path: "/"
  check_interval_sec: 300
  timeout_sec: 4
  failure_threshold: 2
  success_threshold: 2

readiness_check:
  path: "/public"
  check_interval_sec: 300
  timeout_sec: 4
  failure_threshold: 2
  success_threshold: 2
  app_start_timeout_sec: 30000000

# Explicitly set the memory limit and maximum heap size for the Spring Boot app
env_variables:
  JAVA_TOOL_OPTIONS: "-XX:MaxRAM=256m -XX:ActiveProcessorCount=2 -Xmx32m"

handlers:
- url: /.*
  script: this field is required, but ignored
skip_files: app.yaml```

标签: javagoogle-app-engine

解决方案


推荐阅读