How to stop play 2.0.4 throwing java.lang.NoSuchMethodError: org.sbtidea.SbtIdeaPlugin

When running the play console (2.0.4) it returns:

[info] Loading global plugins from /home/matt/.sbt/plugins
[info] Loading project definition from /home/matt/src/app/project
[error] java.lang.NoSuchMethodError:       org.sbtidea.SbtIdeaPlugin$.ideaSettings()Lscala/collection/Seq;

The exception is thrown at PlayCommands.scala:214 and it looks like a known bug.

The workaround however doesn't seem to be immediately apparent (short of upgrading).

Answers


First, you have to temporarily disable your global sbt-idea plugin. You can do this by commenting out (//) this line:

addSbtPlugin("com.github.mpeltonen" % "sbt-idea" % "1.3.0")

Which should exist in one of these files:

/home/matt/.sbt/plugins/build.sbt or /home/matt/.sbt/plugins/plugins.sbt

Second, you have to remove (rm -rf) these directories:

  • /home/matt/.sbt/plugins/project
  • /home/matt/.sbt/plugins/target

Need Your Help

iOS Duration of Splash Screen (Default.png)

objective-c ios5 apple

im using a Default.png file for my iPad-app. It appears correctly but i could'nt find a way to modify the duration of the splash screen. Has somebody any suggestions? Google has many sites that sho...

File not found when registering DLL with TFileRun and regsvr32

delphi regsvr32

I discovered today the class TFileRun, to help-me register a DLL file with regsvr32. My code is like this:

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.