scala - NoClassDefFoundError running tests in SBT with scoverage plugin -
i have sbt project structure here: https://orrsella.com/2014/09/24/integration-and-end-to-end-test-configurations-in-sbt-for-scala-java-projects/ . includes standard main , test directories , additionally it , e2e . there task " test-all" runs tests. works correctly unless run e2e or test-all coverage plugin. i'm getting: java.lang.noclassdeffounderror: scoverage/invoker$ using show it:dependencyclasspath , show e2e:dependencyclasspath , can see e2e classpath missing scoverage plugin jars. idea what's wrong , how solve it? build.sbt import org.scalatra.sbt._ import sbt.keys._ import sbt._ object maappbuild extends build { val organization = "com.my-org" val name = "my app" val version = "0.1.0-snapshot" val scalaversion = "2.11.6" val akkaversion = "2.3.4" val scalatraversion = "2.3.0" lazy val project = project( "my-app", file("."), configuratio...