ScalaTest抛出ClassNotFoundException

时间:2016-06-17 16:28:20

标签: scala scalatest

我在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)   ...

0 个答案:

没有答案