java - 新的 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```
解决方案
推荐阅读
- node.js - 如何管理 WebSocket、Socket 和 NodeJS 应用程序的端口?
- java - 使用条件实现搜索过滤器
- python - 高斯混合模型_Scikit Learn_如何拟合单D数据?
- php - 您是否需要 Composer for async PHP 和像 ReactPHP 或 Swoole 这样的 HTTP 服务器?
- angular - 如何将 Angular 应用程序中的元素滚动到带有粘性标题的视图中?
- python - discord.py - 命令引发异常:OpusNotLoaded
- android - 为移动设备提供图像的最佳方法
- angular - 使用 ngModel 将 kendo 下拉菜单绑定到插值会导致错误
- dc.js - 使用 dc.js numberDisplay 进行计算
- c# - 使用实体框架在数据库中设置授权