我正在尝试使用使用intellij idea的scalatest套件,如下所示:
class SampleTest extends org.scalatest.Suite {
def myTest() {
assert(true)
}
}
(new SampleTest).execute()我已经添加了scalactic_2.11和scalactic_2.11到我的pom file.The的问题是SDK仍然不能解决它。
发布于 2016-12-09 16:55:01
这个问题似乎是由于版本控制造成的。使用以下版本解决了此问题:
<dependency>
<groupId>org.scalatest</groupId>
<artifactId>scalatest</artifactId>
<version>0.9.5</version>
</dependency>https://stackoverflow.com/questions/41056007
复制相似问题