没有找到GET/@测试

Tan*_*eam 2 playframework

我正在浏览Yabe教程.

我已经写了一些测试,他们在经过一些修补之后就开始工作了.在完成教程的过程中,我停止了Play服务器,重新启动,当我转到http:// localhost:9000/@测试时, 我看到以下内容......

Not found

   GET /@tests
     These routes have been tried, in this order :

    GET       /@documentation/cheatsheet/{category}                 PlayDocumentation.cheatSheet
    GET       /@documentation/modules/{module}/files/{name}     PlayDocumentation.file
    GET       /@documentation/modules/{module}/images/{name}    PlayDocumentation.image
    GET       /@documentation/modules/{module}/{id}             PlayDocumentation.page
    GET       /@documentation/files/{name}                      PlayDocumentation.file
    GET       /@documentation/images/{name}                     PlayDocumentation.image
    GET       /@documentation/{id}                              PlayDocumentation.page
    GET       /@documentation/?                                 PlayDocumentation.index
    GET       /                                                 Application.index
    GET       /favicon.ico                                      404
    GET       /public/                                          staticDir:public
     *         /{controller}/{action}                            {controller}.{action} 
Run Code Online (Sandbox Code Playgroud)

Per*_*ega 5

您是否在测试模式下启动了服务器?你应该运行:

play test 
Run Code Online (Sandbox Code Playgroud)