maven - TestNGException while executing mavenized selenium project from Command prompt -


I am running the mavenized TestNG Webdriver project using the command 'MVN Clean Installation Test' but I have the following exception in CMD Get it soon

  [Error] The target org.apache.maven.plugins failed to execute: maven-surefire-plugin: 2. 17: test on project (default-test) WebdriverWithTestNG: target org.apache.maven.plugins execution default-test: maven-surefire-plugin: 2.17: test unsuccessful: There was an error in the forked process [ERROR] org Testng.TestNGException : An error occurred during [ERROR] class com.generic.validateorders.Winting. EbAppTest: Blank [Error] at org.testng.internal.ClassHelper.createInstance1 (ClassHelper.java398)  

On the other hand whenever I run it from eclipse, it is complete without any issue The way is fine. Is there a problem with my project room? If so, how can I fix it?

Ensure that you have never used Kanka mode in your palm, then the .xml for plugin configuration

  & lt; Configuration & gt; & Lt; ForkMode & gt; Never & lt; / ForkMode & gt; & Lt; / Configuration & gt;  

Comments