Reputation: 11
I am getting the below error while executing my testng test case. I have upgraded TestNg Eclipse plugin as 6.11.0 latest one and using tried with all testng jars files and no luck to resolve this issue.
Am I missing anything here to add my project or else what should I do ?
Someone please help to resolve to this error:
java.lang.AbstractMethodError: org.testng.remote.support.RemoteTestNG6_9_10$DelegatingTestRunnerFactory.newTestRunner(Lorg/testng/ISuite;Lorg/testng/xml/XmlTest;Ljava/util/List;)Lorg/testng/TestRunner; at org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(SuiteRunner.java:544) at org.testng.SuiteRunner.init(SuiteRunner.java:142) at org.testng.SuiteRunner.(SuiteRunner.java:106) at org.testng.TestNG.createSuiteRunner(TestNG.java:1116) at org.testng.TestNG.createSuiteRunners(TestNG.java:1103) at org.testng.TestNG.runSuitesLocally(TestNG.java:955) at org.testng.TestNG.run(TestNG.java:900) at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:132) at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:230) at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:76)
Upvotes: 1
Views: 7194
Reputation: 1
Above issue is purely TestNG version issue, use TestNG 6.8.3 version(or any appropriate versions), its going to resolve your problem. Clean your project & update project.
Upvotes: 0
Reputation: 1
This error occurred when I reinstalled eclipse.
When I downgraded TestNG version from 14 to 10 and to 11, they didn't work. Eventually I found that eclipse was not uninstalled completely. In "C:\Users\Your AccountName\", three folders exist: .eclipse, .m2 and .p2. Delete them and reinstall eclipse, everything goes well.
Upvotes: 0
Reputation: 372
please add -verbose:class
to your JVM argument, and identify where the TestNG classes being loaded. see also issue https://github.com/cbeust/testng-eclipse/issues/297
Upvotes: 1