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
Post a Comment