Specs2 has recently been updated to version 2.4, in which instead of scalaz 7.1 instead of 7.0.x now. As soon as I update my dependency specs2 in my game! 2.3 to use version 2.4, all tests fail with the following exception:
[error] Uncaught exception when running ...Spec: java.lang.In compatibleClassChangeError: Found class scalaz.syntax.FunctorOps, but interface was expected sbt.ForkMain$ForkError: Found class scalaz.syntax.FunctorOps, but interface was expected at org.specs2.specification.SpecificationStructure$.createSpecificationEither(BaseSpecification.scala:119) at org.specs2.runner.SbtRunner.org$specs2$runner$SbtRunner$$specificationRun(SbtRunner.scala:73) at org.specs2.runner.SbtRunner$$anonfun$newTask$1$$anon$5.execute(SbtRunner.scala:59) at sbt.ForkMain$Run$2.call(ForkMain.java:294) at sbt.ForkMain$Run$2.call(ForkMain.java:284) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745)
No one seems to have had this error before. At least I could not find it in specs2 problem tracking systems and play the project.
source share