首页 > 解决方案 > 问题春季启动应用程序部署到谷歌应用引擎

问题描述

我正在尝试将 Spring Boot 应用程序部署到谷歌云 App 引擎环境中,但它崩溃并给出了这个错误。

Bad configuration: Could not locate
 ....out\artifacts\tech_garoon_cloud_main\WEB-INF\appengine-web.xml
 Caused by:
 ...\out\artifacts\tech_garoon_cloud_main\WEB-INF\appengine-web.xml
 (The system cannot find the file specified)

appengine-web.xml

<?xml version="1.0" encoding="utf-8"?>
<appengine-web-app xmlns="http://appengine.google.com/ns/1.0">
  <threadsafe>false</threadsafe>
  <runtime>java8</runtime>
</appengine-web-app>

我的应用程序文件夹结构

在此处输入图像描述

那么我该如何解决这个问题呢?

标签: springspring-bootgoogle-app-enginegoogle-cloud-platform

解决方案


推荐阅读