I It is related to testNG class path not getting set. I am assuming your other java programs are running fine. Pleaser remove the complete testNG installation and redo the testing installation in Eclipse. Check the version of testNG being used. Create a new sample project in another workspace, do everything from scratch and see.