The first time I ran testNG, I found an Error: Error: A JNI Error has occurred. Please check your installation and try again.
To get to the bottom of this, the JAR package is incomplete. After importing the JCommander -1.48.jar package to run, no more prompt for this error.
Download way: http://download.csdn.net/detail/u010340178/9782044
In addition, in the testNG will often use to another jar package, testNG – 6.8.21. Jar, contains org.testng.Com mandLineArgs, org. TestNG. Annotations. * classes, such as can join together.
Download way: http://download.csdn.net/detail/u010340178/9782050
To get to the bottom of this, the JAR package is incomplete. After importing the JCommander -1.48.jar package to run, no more prompt for this error.
Download way: http://download.csdn.net/detail/u010340178/9782044
In addition, in the testNG will often use to another jar package, testNG – 6.8.21. Jar, contains org.testng.Com mandLineArgs, org. TestNG. Annotations. * classes, such as can join together.
Download way: http://download.csdn.net/detail/u010340178/9782050