'Java.lang.NoClassDefFoundError: junit/framework/TestCase

After upgrading from JUnit 4 to JUnit 5 getting this error when i am trying to run test as JUnit in eclipse. Getting warning: failed to load class 'org.eclipse.jdt.internal.junit.runner.junit3.junit3TestLoader$1'



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source