Eclipse No tests found using JUnit 5 caused by NoClassDefFoundError for LauncherFactory November 3, 2022 by Tarik I fixed the issue by right clicking the test and selecting ‘Run Configurations’ and changing the “Test runner:” selection to ‘JUnit 4’ as shown here: I ran the test again and it worked.