Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/scala/19.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Scala Play Idea失败-此版本的sbt 0.11.3没有sbt Idea插件_Scala_Playframework_Intellij Idea_Sbt_Sbt Idea - Fatal编程技术网

Scala Play Idea失败-此版本的sbt 0.11.3没有sbt Idea插件

Scala Play Idea失败-此版本的sbt 0.11.3没有sbt Idea插件,scala,playframework,intellij-idea,sbt,sbt-idea,Scala,Playframework,Intellij Idea,Sbt,Sbt Idea,我卡住了 我在Mac上安装了typesafe堆栈和brew 我已经使用play new appname创建了一个新的play项目,一切正常 我试图使用playidea将其导入intelliJ,但是当我这样做时,我得到了以下错误 [error] no sbt-idea plugin for this version of sbt - 0.11.3 我有游戏!2.0.3和sbt 0.11.3 知道我是如何解决这个问题的吗?首先,请确保您遵循了: 这将导致以下异常: java.lang.NoSuch

我卡住了

我在Mac上安装了typesafe堆栈和brew

我已经使用play new appname创建了一个新的play项目,一切正常

我试图使用playidea将其导入intelliJ,但是当我这样做时,我得到了以下错误

[error] no sbt-idea plugin for this version of sbt - 0.11.3
我有游戏!2.0.3和sbt 0.11.3


知道我是如何解决这个问题的吗?

首先,请确保您遵循了:

这将导致以下异常:

java.lang.NoSuchMethodError: org.sbtidea.SbtIdeaPlugin$.ideaSettings()Lscala/collection/Seq; at
sbt.PlayCommands$class.intellijCommandSettings(PlayCommands.scala:214)
当前修复方法是通过编辑project.plugins.sbt文件降级到play 2.0.1,如下所示:

// Comment to get more information during initialization
logLevel := Level.Warn

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

// Use the Play sbt plugin for Play projects
addSbtPlugin("play" % "sbt-plugin" % "2.0.1")

这似乎暂时解决了问题。

您是否尝试过在build.properties文件中将SBT重写为0.11.2?这已由上一个答案中的注释回答,我认为我只是将其聚集在一篇回答文章中。我已将此问题报告为bug#804: