Maven Install error
Org.apache.maven.surefire.util.SurefireReflectionException:java.lang.reflect.InvocationTargetException; Nested exception is Java.lang.reflect.InvocationTargetException:null
Java.lang.reflect.InvocationTargetException
At Sun.reflect.NativeMethodAccessorImpl.invoke0 (Native Method)
At Sun.reflect.NativeMethodAccessorImpl.invoke (nativemethodaccessorimpl.java:62)
At Sun.reflect.DelegatingMethodAccessorImpl.invoke (delegatingmethodaccessorimpl.java:43)
At Java.lang.reflect.Method.invoke (method.java:497)
At Org.apache.maven.surefire.util.ReflectionUtils.invokeMethodWithArray (reflectionutils.java:189)
At Org.apache.maven.surefire.booter.providerfactory$providerproxy.invoke (providerfactory.java:165)
At Org.apache.maven.surefire.booter.ProviderFactory.invokeProvider (providerfactory.java:85)
At Org.apache.maven.surefire.booter.ForkedBooter.runSuitesInProcess (forkedbooter.java:115)
At Org.apache.maven.surefire.booter.ForkedBooter.main (forkedbooter.java:75)
caused By:org.apache.maven.surefire.testset.TestSetFailedException:Unknown TestNG version 6.9.13.6
At Org.apache.maven.surefire.testng.TestNGExecutor.getConfigurator (testngexecutor.java:207)
At Org.apache.maven.surefire.testng.TestNGExecutor.run (testngexecutor.java:72)
At Org.apache.maven.surefire.testng.TestNGDirectoryTestSuite.execute (testngdirectorytestsuite.java:110)
At Org.apache.maven.surefire.testng.TestNGProvider.invoke (testngprovider.java:106)
... 9 more
Results:
Tests run:0, failures:0, errors:0, skipped:0
Workaround:
The Pom.xml file is added
<Build> <Plugins> <plugin> <groupId>Org.apache.maven.plugins</groupId> <Artifactid>Maven-surefire-plugin</Artifactid> <version>2.19.1</version> <Configuration> <skiptests>False</skiptests> </Configuration> </plugin> </Plugins> </Build>
Mavne Install error Org.apache.maven.surefire.util.SurefireReflectionException: Java.lang.reflect.InvocationTargetException