在Play 2.1.1中,我在Build.scala中使用:
override def settings = super.settings ++ play.Project.intellijCommandSettings("JAVA")
现在,我使用Play 2.2.1。但是intellijCommandSettings(“JAVA”)不再起作用了:
found : String("JAVA")
required: Int
override def settings = super.settings ++ play.Project.intellijCommandSettings("JAVA")
^
one error found
(compile:compile) Compilation failed
我该怎么办?