Error: org.testng.TestNGException: Cannot find class in classpath: EmpClass

前端 未结 30 1289
礼貌的吻别
礼貌的吻别 2020-12-09 08:17

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

30条回答
  •  清歌不尽
    2020-12-09 08:56

    Got the IDE working again. The solution is quite funny - and even a re-install, and deleting the IDE does not fix it on windows. What you need to do in that case, is to go to the testNG run configurations - and delete them all. This is for the TestNG XML classpath error on windows OS. I am using spring tools suite 3.6.4.

    Make certain that you delete all the configurations, make sure the project can build, and if there are no problems, the test should run now.

    Regards -Anthony Toorie

提交回复
热议问题