testng: Can't recognize runtime TestNG version

After upgrading to 6.9.11 from Eclipse marketplace, the error message is displayed as “Can’t recognize runtime TestNG version” while running any test case.

When I add “testng.jar” to the build path, below exception is displayed in console.

java.lang.AbstractMethodError: org.testng.remote.support.RemoteTestNG6_9_10$DelegatingTestRunnerFactory.newTestRunner(Lorg/testng/ISuite;Lorg/testng/xml/XmlTest;Ljava/util/Collection;)Lorg/testng/TestRunner;
    at org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(SuiteRunner.java:587)
    at org.testng.SuiteRunner.init(SuiteRunner.java:161)
    at org.testng.SuiteRunner.<init>(SuiteRunner.java:114)
    at org.testng.TestNG.createSuiteRunner(TestNG.java:1290)
    at org.testng.TestNG.createSuiteRunners(TestNG.java:1277)
    at org.testng.TestNG.runSuitesLocally(TestNG.java:1131)
    at org.testng.TestNG.run(TestNG.java:1048)
    at org.testng.remote.AbstractRemoteTestNG.run(AbstractRemoteTestNG.java:126)
    at org.testng.remote.RemoteTestNG.initAndRun(RemoteTestNG.java:75)
    at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:46)

About this issue

  • Original URL
  • State: closed
  • Created 8 years ago
  • Comments: 20 (9 by maintainers)

Most upvoted comments

@misedone Should I revert the Eclipse plug-in to the previous version while you sort this out?

Cédric

On Tue, Mar 29, 2016 at 10:13 PM, Nick Tan notifications@github.com wrote:

@manguram https://github.com/manguram could you share your classpath, it’s available on the Error Log view as well. see log entry of ‘[TestNGLaunchConfigurationDelegate] Launching:’.

i need to understand the issue so that can suggest the workaround. thanks for your patience

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/cbeust/testng/issues/1012#issuecomment-203252094