重头戏2.2.1:IntellijCommand设置(“JAVA”)不工作

重头戏2.2.1:IntellijCommand设置(“JAVA”)不工作,java,playframework,Java,Playframework,在游戏2.1.1中,我在Build.scala中使用了: override def settings = super.settings ++ play.Project.intellijCommandSettings("JAVA") 现在,我使用Play 2.2.1。但intellijCommandSettingsJAVA不再工作: found : String("JAVA") required: Int override def settings = super.settings ++ p

在游戏2.1.1中,我在Build.scala中使用了:

override def settings = super.settings ++ play.Project.intellijCommandSettings("JAVA")
现在,我使用Play 2.2.1。但intellijCommandSettingsJAVA不再工作:

found   : String("JAVA")
required: Int
override def settings = super.settings ++ play.Project.intellijCommandSettings("JAVA")
                                                                               ^ 
one error found
(compile:compile) Compilation failed

我该怎么办?

我不确定,但将play.Project.intellijcommandsetingsjava更改为play.PlayProject.intellijcommandsetingsjava…也可以看到这个是。我说的是那个帖子。但是JAVA不再仅仅是IntellijCommand设置。当我和suorces玩idea=yes时,他还会做java项目还是scala项目?