Re: sbt, scalatest, class file needed by path is missing

400 views
Skip to first unread message

Robin Green

unread,
May 28, 2013, 6:12:00 AM5/28/13
to simple-b...@googlegroups.com
I see a problem. You are using the wrong Scala version.

On Saturday, 25 May 2013 17:17:15 UTC+1, al...@atomsign.net wrote:
To verify that this dependency was indeed in the classpath, I went into sbt and typed `library-dependencies`, which returned `[info] List(org.scala-lang:scala-library:2.9.2, org.scalatest:scalatest_2.10:1.9.1:test)`

This means that you are using Scala version 2.9.2, but you are using a version of Scalatest built for Scala 2.10.

You need to set

scalaVersion := 2.10.0

in your build.sbt.

Alternatively, if you can't use Scala 2.10 for some reason, you need to use version of Scalatest built for the version of Scala that you are using.
Reply all
Reply to author
Forward
0 new messages