Joan Killeen

09/12/2022, 9:26 AM
I am using kotlin in Intellij with a maven build. I have JUnit 5 Version 1.7.10 and the bundled Kotlin compiler. My simple Kotlin code is working fine but I cannot get the JUnit Tests to work in the Test runner. In the Maven build the tests work (goal install). When starting test in the runner I get this error message: Sep 12, 2022 112058 AM org.junit.platform.launcher.core.DefaultLauncher handleThrowable WARNING: TestEngine with ID 'junit-jupiter' failed to discover tests java.lang.NoClassDefFoundError: org/junit/jupiter/api/ClassOrderer at org.junit.jupiter.engine.config.DefaultJupiterConfiguration.<clinit>( at at org.junit.platform.launcher.core.DefaultLauncher.discoverEngineRoot( at org.junit.platform.launcher.core.DefaultLauncher.discoverRoot( at at org.apache.maven.surefire.junitplatform.TestPlanScannerFilter.accept( has anyone seen this problem before??