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


when running play console (2.0.4) returns:

[info] loading global plugins /home/matt/.sbt/plugins [info] loading project definition /home/matt/src/app/project [error] java.lang.nosuchmethoderror:       org.sbtidea.sbtideaplugin$.ideasettings()lscala/collection/seq; 

the exception thrown @ playcommands.scala:214 , looks known bug.

the workaround doesn't seem apparent (short of upgrading).

first, have temporarily disable global sbt-idea plugin. can commenting out (//) line:

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

which should exist in 1 of these files:

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

second, have remove (rm -rf) these directories:

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

Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -