Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ClassNotFoundException when changing scoverage settings #307

Open
albertoadami opened this issue Apr 17, 2020 · 1 comment
Open

ClassNotFoundException when changing scoverage settings #307

albertoadami opened this issue Apr 17, 2020 · 1 comment

Comments

@albertoadami
Copy link

albertoadami commented Apr 17, 2020

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.

@ckipp01
Copy link
Member

ckipp01 commented May 5, 2021

Are you still having this issue @albertoadami. If so are you able to provide a minimal example of your reproduction?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants