When i\'m trying to run the test suite, am getting this exception. We are using maven project here and i am done with refreshing, cleaning, reinstalling testNG and then impo
I also had this issue.
I'm using IntelliJ IDEA.
I was using src/main/java for configuration files and src/test/java for test files.
Because of this testNG couldn't find the class path.
To prevent getting that error need to move all the files from src/main/java to src/test/java or vice versa.