使用scala 2.10& specs2 1.11我有以下错误,所有测试都失败了:
XXXTest.initializationError failed: scala/runtime/AbstractFunction1$mcLI$sp
[...]
Caused by: java.lang.ClassNotFoundException: scala.runtime.AbstractFunction1$mcLI$sp
答案 0 :(得分:0)
通过将specs2升级到1.14来解决:
"org.specs2" %% "specs2" % "1.14" % "test"