ClassNotFoundException scala.runtime.AbstractFunction1 $ mcLI $ sp

时间:2013-03-21 15:06:37

标签: scala

使用scala 2.10& specs2 1.11我有以下错误,所有测试都失败了:

 XXXTest.initializationError failed: scala/runtime/AbstractFunction1$mcLI$sp
 [...]
 Caused by: java.lang.ClassNotFoundException: scala.runtime.AbstractFunction1$mcLI$sp

1 个答案:

答案 0 :(得分:0)

通过将specs2升级到1.14来解决:

 "org.specs2" %% "specs2" % "1.14" % "test"