Tests run without any problem in sbt
, but when you need them in IntelliJ, they fail.
A needed class was not found. This could be due to an error in your runpath.
Missing class: scoverage/Invoker$
java.lang.NoClassDefFoundError: scoverage/Invoker$
I have seen many suggesting during the years how to fix it, but nothing really helped. :)
Finally discovered a solution, which worked for me:
Temporarely disable
scoverage
plugin forsbt
project(s) in questionsBonus: tests are running faster as well.