意外的属性static_dir:

I am testing out the google app engine using golang on my local machine and I'm running into a problem.

My app.yaml file is as follows:

application: app1
version: 1
runtime: go
api_version: go1

handlers:
- url: /bootstrap
  static_dir: bootstrap

- url: /.*
  script: _go_app

When I run "goapp serve" I receive the following error:

google.appengine.api.yaml_errors.EventError: Unexpected attribute 'static_dir:' for object of type URLMap.

Any help would be much appreciated!

This looks like whitespace issue for sure. Even I was facing same issue, resolve by removing unnecessary spaces.