我正在浏览Yabe Tutorial。
我已经写了一些测试,他们在经过一些修补之后就开始工作了。在完成教程的同时,我停止了Play服务器,重新启动,当我转到http://localhost:9000/@tests时,我看到以下内容......
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}
答案 0 :(得分:5)
您是否在测试模式下启动了服务器?你应该运行:
play test