我在Scala IDE中运行以下空测试并收到错误。
import org.scalatest._
class TheTest extends FlatSpec {
"blaah" should "be blaah" in {
}
}
* RUN ABORTED * java.lang.ClassNotFoundException:java.net.URLClassLoader.findClass(Unknown Source)atTest at at java.lang.ClassLoader.loadClass(未知来源)at java.lang.ClassLoader.loadClass(未知来源)at org.scalatest.tools.Runner $$ anonfun $ 35.apply(Runner.scala:2438)at at org.scalatest.tools.Runner $$ anonfun $ 35.apply(Runner.scala:2436)at at scala.collection.TraversableLike $$ anonfun $ filterImpl $ 1.适用(TraversableLike.scala:259) 在scala.collection.immutable.List.foreach(List.scala:381)at scala.collection.TraversableLike $ class.filterImpl(TraversableLike.scala:258) 在 scala.collection.TraversableLike $ class.filter(TraversableLike.scala:270) 在scala.collection.AbstractTraversable.filter(Traversable.scala:104) ...