ScalaTest dispatcher mismatch of libraries
Hi, running scalatest from intellij I'm getting the following with latest eap
Exception in thread "ScalaTest-dispatcher" java.lang.NoSuchMethodError: scala.collection.JavaConverters.seqAsJavaList(Lscala/collection/Seq;)Ljava/util/List;
at org.jetbrains.plugins.scala.testingSupport.scalaTest.treeBuilder.ParallelTreeBuilder.getOrdinalList(ParallelTreeBuilder.java:21)
at org.jetbrains.plugins.scala.testingSupport.scalaTest.treeBuilder.ParallelTreeBuilder$SuiteTree.<init>(ParallelTreeBuilder.java:92)
at org.jetbrains.plugins.scala.testingSupport.scalaTest.treeBuilder.ParallelTreeBuilder.initRun(ParallelTreeBuilder.java:261)
at org.jetbrains.plugins.scala.testingSupport.scalaTest.ScalaTestReporterWithLocation.apply(ScalaTestReporterWithLocation.java:60)
So I'd interpret that as meaning testingSupport is using a different version of the JavaConverters than the one it was built with. But how on earth do I go about working out which library the test support is using?
I think I'm using 2.11.11 everywhere, latest EAP 173.2099-14. Figuring out what gets used is highly confusing
Please sign in to leave a comment.
specifically it looks like seqAsJavaList is a 2.12 addition. So somehow the test runner is expecting 2.12 when everything else is 2.11
Is that a bug?
ok, I don't get this if I go back to previous EAP 172
Thanks for the ticket SCL-12552, we'll try to fix it for the next 173 Scala plugin EAP/Release.
Hi guys,
I had the same issue, fixed by changing:
and my current version is
Same problem with EAP 173.2941.3, no luck with scala 2.11.11