Compilation error with specs 1.6.5 on Scala 2.8.0

25 views
Skip to first unread message

Jeppe Nejsum Madsen

unread,
Sep 6, 2011, 3:17:44 PM9/6/11
to specs...@googlegroups.com
Hi

Lift still builds for 2.8.0 and is thus using specs 1.6.5. I get a
compilation failure involving Mockito:

[error] /Users/jeppe/projects/lift/framework/persistence/db/src/test/scala/net/liftweb/db/DBSpec.scala:7:
value Matchers is not a member of package org.mockito
[error] import org.mockito.Matchers._
[error] ^
[error] class file needed by MockitoStubs is missing.
[error] reference value stubbing of package org.mockito refers to
nonexisting symbol.
[error] two errors found

Is there a missing dependency somewhere or what could cause this?

It builds & runs fine on Scala 2.8.1 using specs 1.6.8

/Jeppe

etorreborre

unread,
Sep 6, 2011, 5:34:05 PM9/6/11
to specs...@googlegroups.com
Which version of Mockito are you using? 

I think that 1.6.5 is supposed to use Mockito 1.8.4.

E.
Reply all
Reply to author
Forward
0 new messages