I use Scala 2.10.0RC1 and sbt 0.12.1. What causes and how can I fix this runtime error (runs fine on 2.9.2)?
The exact error message is:
java.lang.NoSuchMethodError: scala.Predef$ArrowAssoc$.extension$$minus$greater(Ljava/lang/Object;Ljava/lang/Object;)Lscala/Tuple2;
Seq("-unchecked", "-deprecation", "-feature", "-language:reflectiveCalls","-language:implicitConversions", "-language:postfixOps", "-language:dynamics","-language:higherKinds","-language:existentials", "-language:experimental.macros")
. I'm running the code (test) inside sbt. how do i verify that it's using the right library? – user1779032scalaVersion in Test := "2.9.2"
in your Build.sbt file. – senia~/.sbt
,~/.ivy2
and~/.m2
the problem was gone. Later on someone told me thatsbt reboot
would also help, but I didn't have a chance to try that out yet. – Eugene Burmako