Skip to content

ClassNotFoundException when changing scoverage settings #307

Open
@albertoadami

Description

@albertoadami

I'm getting an Exception when reloading sbt after changing some coverage settings.
The error is the following:
[error] java.lang.ClassNotFoundException: $5035547365a0d644494a$

More detailed log:

In my project, I've a sbt multi-project, but only in one, I'm using the coverage settings.

Here some details:

  1. scalaVersion: 2.12.10
  2. scoverageVersion: 1.6.1

A workaround to this problem is to use the following list of commands:

  • rm -rf target
  • rm -rf project/target
  • rm -rf project/project/target

After these commands the coverage generation will work again.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions