Affects Version/s: None
Fix Version/s: None
Environment:gentoo linux 2006, kernel 2.6, sun-jdk-1.5.0.06, maven 2.0.4, eclipse sdk 3.2, myeclipse 5 m2
Number of attachments :
This is for the behavior described in
You get "Class not found" when running/debuging JUnit tests.
For me it happened when I was importing another project and its dependencies (both m2 projects).
Clean compile works fine, problem is with run.
The workaround to get it working is:
In the project containing your tests, edit Java Build Path | Order and Export: Make sure M2 Dependencies appears BEFORE JRE System Library.