Eclipse

If you are running a JUnit plug-in test within an Eclipse environment that requires .jar libraries, then you can’t just add them to the build path through right click > add to build path.

You have to add them to the plug-in classpath by editing MANIFEST.MF. Otherwise the Eclipse classloader won’t be able to find them (it ignores the Eclipse classpath when running a new environment).