Home › Forums › Java Forum › how to rectify the jni error while running the testNG program › Reply To: how to rectify the jni error while running the testNG program
Ravinder, The main cause of this problem is non-availability of Jar files required by TestNG to run a test case.
There are multiple solution of this problem :
1. Use latest eclipse version and use latest Testng Plugin.
2. If you are still getting this error , then go to following URL and download JAR file of “JCommander”:
3. Add above Jar file just like other APIs and rerun your test case. It must solve your problem.