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
Read More:
- A JNI error has occurred, please check your installation and try again
- Java command line uses a JNI error has occurred, please check your installation and try again
- Eclipse run main method error: a JNI error has occurred, please check your installation and try again
- “Error: a JNI error has occurred” and “error of” jvm.cfg To solve the problem
- Repair connection: an internal error has occurred in windowsserver2016
- Failed to upload report – An error has occurred. Please contact your administrator
- register ASP.NET An error has occurred: 0x8007b799
- [ABAP] sproxy opens ESR and reports an error has occurred during communication ESR
- WINDOWS 7 : SYSPREP 3.14 : A FATAL ERROR HAS OCCURRED DURING SYSPREP.(ZZ)
- Error: could not create the Java virtual machine Error:A Fatal exception has occurred
- net start mysql System error 2 has occurred. The system cannot find the file specified.
- Error: could not create the Java virtual machine. Error: a fatal exception has occurred
- Eclipse:An error has occurred. See error log for more details. java.lang.NullPointerException
- An Ajax HTTP error occurred in drupal7 installation occurred.HTTP Result Code
- The solution of a Java exception has occurred. And error exception in thread when eclipse runs
- Net start mongodb failed to start: system error 5 has occurred. Access is denied
- Error:Could not create the Java Virtical Machine. Error: A fatal exception has occurred. program
- The sharepoint2010 site cannot open a solution that displays an “an unexpected error has occurred” error
- Successful solution of eclipse startup error Error:Could not create the Java Virtual Machine Error:A fatal exception has occurred
- Eclipse reported an error: an error has occurred