2013-10-22 32 views
0

我從GAE收到以下錯誤進行部署時...獲取GAE錯誤消息基本靜態內容的app.yaml

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

當部署一個簡單的靜態網站由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 

回答

0

我不認爲這是對Java的語法正確。

檢查guidelines