Hi. I cannot execute the scalatest ant task. It throws the following exception:
java.lang.VerifyError: (class: org/scalatest/tools/Runner$, method: main signature: ([Ljava/lang/String;)V) Can only throw Throwable objects at org.scalatest.tools.Runner.main(Runner.scala) at org.scalatest.tools.ScalaTestTask.execute(ScalaTestTask.java:197) ...
I have the following versions:
java -version java version "1.5.0_18" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_18-b02) Java HotSpot(TM) Client VM (build 1.5.0_18-b02, mixed mode, sharing)
The scala-library.jar which is in the src libs did not correspond to the scala version that was installed. I copied scala.home/lib/scala-library.jar to my src libs and all is well.