Play Idea failing - no sbt-idea plugin for this version of sbt 0.11.3
Asked Answered
A

1

8

I'm stuck.

I've on a Mac and have installed the typesafe stack with brew

I've created a new play project using play new appname and all is fine.

I'm trying to import it into intelliJ using play idea - but when I do this I get the following error;

[error] no sbt-idea plugin for this version of sbt - 0.11.3

I have play! 2.0.3 and sbt 0.11.3

Any idea how I actually fix this?

Anglesite answered 15/8, 2012 at 12:37 Comment(1)
Have you tried overriding SBT to 0.11.2 in the build.properties file?Atman
B
9

First, ensure you've followed: the official installation instructions

This will currently result in the following exception:

java.lang.NoSuchMethodError: org.sbtidea.SbtIdeaPlugin$.ideaSettings()Lscala/collection/Seq; at
sbt.PlayCommands$class.intellijCommandSettings(PlayCommands.scala:214)

Current fix is to downgrade to play 2.0.1 by editing the project.plugins.sbt file thusly:

// 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")

This seems to resolve the problem for now.

Buchanan answered 9/9, 2012 at 10:8 Comment(2)
This was answered by the comments in the previous answer, figured I'd just agglomerate it in one answer post.Buchanan
I've reported this issue as bug #804 : play.lighthouseapp.com/projects/82401-play-20/tickets/…Victor

© 2022 - 2024 — McMap. All rights reserved.