Scala Play conf \ routes文件中的编译错误

时间:2013-06-07 13:20:57

标签: scala playframework

什么会导致此Scala Play编译错误?

Compilation error
HTTP Verb (GET, POST, ...), include (->) or comment (#) expected
In C:\time-enough-at-last\conf\routes at line 1.

1 # Routes

2 # This file defines all application routes (Higher priority routes first)
3 # ~~~~
4
5 # Home page
6 GET     /                           controllers.Application.index

(请注意,您在上面看到的行号实际上并不在文件中。)

它期待的一件事是评论。嗯,这是评论,不是吗?

# Routes

0 个答案:

没有答案