appengine dispatch.yaml 没有找到我的模块?

为什么使用此调度配置会出现以下错误?

https://github.com/gertcuykens/gcl-11/tree/master/server%20go

http://img4.mukewang.com/6112715500011d0801850363.jpg

Mac:server go gert$ /Users/gert/Desktop/IdeaProjects/toolbox/serve.sh dispatch.yaml www/www.yaml default

Traceback (most recent call last):

  File "/Users/gert/Documents/sdk-appengine/dev_appserver.py", line 82, in <module>

    _run_file(__file__, globals())

  File "/Users/gert/Documents/sdk-appengine/dev_appserver.py", line 78, in _run_file

    execfile(_PATHS.script_file(script_name), globals_)

  File "/Users/gert/Documents/sdk-appengine/google/appengine/tools/devappserver2/devappserver2.py", line 970, in <module>

    main()

  File "/Users/gert/Documents/sdk-appengine/google/appengine/tools/devappserver2/devappserver2.py", line 963, in main

    dev_server.start(options)

  File "/Users/gert/Documents/sdk-appengine/google/appengine/tools/devappserver2/devappserver2.py", line 714, in start

    options.config_paths, options.app_id)

  File "/Users/gert/Documents/sdk-appengine/google/appengine/tools/devappserver2/application_configuration.py", line 678, in __init__

    'file.' % sorted(missing_modules))

google.appengine.tools.devappserver2.errors.InvalidAppConfigError: Modules [u'www'] specified in dispatch.yaml are not defined by a yaml file.

Mac:server go gert$ 

模块在没有 dispatch.yaml 的情况下可以工作吗?


慕标琳琳
浏览 214回答 1
1回答

呼唤远方

原来“www”是一个特殊的名字,如果我将它重命名为例如“静态”它可以工作......上帝$^*(&^)它!
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Go