问题Spring Boot应用程序部署到Google App Engine

时间:2019-02-12 08:38:29

标签: spring spring-boot google-app-engine google-cloud-platform

我正在尝试将Spring Boot应用程序部署到Google Cloud App Engine环境中,但是崩溃了,并给出了此错误。

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>

我的应用程序文件夹结构

enter image description here

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

0 个答案:

没有答案