Can't run unit tests after intellij upgrade
Answered
After upgrading my intellij version to 2021.1 on Ubuntu linux I cant run Junit 5 tests from Intellij anymore. All tests fail with a: Exception in thread "main" java.lang.ClassNotFoundException: org.jacoco.agent.rt.internal_43f5073.PreMain. Nothing else has changed. We do include the jacoco plugin in our build.gradle. However this worked fine till just now. What needs to be done to get this working again?
Please sign in to leave a comment.
Hello, can you please share the sample project to reproduce the issue on our side. You may upload it here: https://uploads.services.jetbrains.com or attach to the issue created in our bug tracker: https://youtrack.jetbrains.com/issues.
Thank you