When trying to run tests using command mvn test I receive an error:
[ERROR] There was an error in the forked process [ERROR] java.lang.NoClassDefFou
I have commented the below part in pom.xml:
org.junit.jupiter junit-jupiter-api 5.3.2 test org.junit.jupiter junit-jupiter-engine 5.3.2 test
And I have added junit5 in java build path(project(right click->java build path->libraries->junit->junit5) It worked for me. Mine is spring-boot project.