Getting “java.lang.NoClassDefFoundError: com/beust/jcommander/ParameterException”Exception

后端 未结 4 2057
梦谈多话
梦谈多话 2021-01-13 12:46

I wanted to invoke testng programmatically. Not eclipse plug-in.

I have associated \"testng-6.8.21.jar\" and running through eclipse and i ran below code:

         


        
4条回答
  •  自闭症患者
    2021-01-13 13:39

    Solution for me was to install TestNg. I referred this link here. As I was using latest version of eclipse, Eclipse MarketPlace option didn't work for me, if it works for you then great. Else goto Help -> Install new software and work with http://dl.bintray.com/testng-team/testng-eclipse-release/ After installation refer 1st link I mentioned to continue. All the best !!

提交回复
热议问题