Intellij idea sbt-将IntelliJ Play应用程序迁移到2.3.x

Intellij idea sbt-将IntelliJ Play应用程序迁移到2.3.x,intellij-idea,playframework,sbt,Intellij Idea,Playframework,Sbt,我开始使用IntelliJ/Scala/Play,我创建了一个新的Play2应用程序,它运行得很好。我一直在尝试将它从播放2.2.1迁移到播放2.3.5,但我遇到了一个错误 无法解析符号启用插件 我的文件看起来像 build.properties: sbt.version=0.13.5 plugins.sbt: logLevel := Level.Warn resolvers += "Typesafe repository" at "http://repo.typesafe.com/type

我开始使用IntelliJ/Scala/Play,我创建了一个新的Play2应用程序,它运行得很好。我一直在尝试将它从播放2.2.1迁移到播放2.3.5,但我遇到了一个错误

无法解析符号启用插件

我的文件看起来像

build.properties:

sbt.version=0.13.5
plugins.sbt:

logLevel := Level.Warn

resolvers += "Typesafe repository" at "http://repo.typesafe.com/typesafe/releases/"

// Play plugin
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.0")

// web plugins
addSbtPlugin("com.typesafe.play" % "sbt-plugin" % "2.3.1")

addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.0.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-coffeescript" % "1.0.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-rjs" % "1.0.1")

addSbtPlugin("com.typesafe.sbt" % "sbt-digest" % "1.0.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-gzip" % "1.0.0")

addSbtPlugin("com.typesafe.sbt" % "sbt-mocha" % "1.0.0")
build.sbt:

import play.Project._

name := "Play2App"

version := "1.0"

//playScalaSettings

lazy val root = (project in file(".")).enablePlugins(PlayJava SbtWeb)

感谢您的帮助

您错过了PlayJava和SbtWeb之间的逗号

lazy val root = (project in file(".")).enablePlugins(PlayJava,SbtWeb)
你有两次sbt插件,正常吗?2.3.5版本的插件%2.3.5是否应该读为addSbtPlugincom.typesafe.play%sbt插件%2.3.5?您现在是否使用激活器而不是播放控制台?