harrah/xsbt — Issue #218: Scala REPL fails with IncompatibleClassChangeError when sbt-launch.jar is in %SCALA_HOME%/lib
Author: VDinesh
Created: 2011-10-09 17:13:08+00:00
State: open

I installed the latest typesafe stack and then downloaded the sbt-launch.jar into the %SCALA_HOME%/lib. REPL fails to run
Exception in thread "main" java.lang.IncompatibleClassChangeError: Expecting non-static method scala.Predef$.refArrayOps([Ljava/lang/Object;)Lscala/collection/m
utable/ArrayOps;
at scala.tools.nsc.MainGenericRunner.process(MainGenericRunner.scala:33)

at scala.tools.nsc.MainGenericRunner$.main(MainGenericRunner.scala:89)
at scala.tools.nsc.MainGenericRunner.main(MainGenericRunner.scala)

When that jar is deleted REPL runs fine.
How do I fix this?