部署基本静态内容app.yaml时出现GAE错误消息

时间:2022-08-04 23:06:41

I am getting the following error from GAE...

我从GAE得到以下错误...

Line 6, column 15: Unable to find property 'static_files' on class: com.google.apphosting.utils.config.AppYaml$Handler

When deploying a simple static website from Codenvy to GAE. I'm pretty sure I'm messing up something basic... This is my current non-functional app.yaml...

从Codenvy部署简单的静态网站到GAE时。我很确定我搞砸了一些基本的东西...这是我目前的非功能性app.yaml ...

application: myapp
version: 1
runtime: java

handlers:
- url: /
  static_files: static/index.html
  upload: static/index.html

- url: /
  static_dir: static

1 个解决方案

#1


0  

I don't think this is the right syntax for java.

我不认为这是java的正确语法。

Check the guidelines

检查指南

#1


0  

I don't think this is the right syntax for java.

我不认为这是java的正确语法。

Check the guidelines

检查指南