Eclipse No tests found using JUnit 5 caused by NoClassDefFoundError for LauncherFactory

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:

Screenshot of run configruations

I ran the test again and it worked.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)