question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't recognize runtime TestNG version

See original GitHub issue

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)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
cbeustcommented, Mar 30, 2016

@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

0reactions
missedonecommented, Apr 5, 2016

cool, thanks

Read more comments on GitHub >

github_iconTop Results From Across the Web

'Can't recognize runtime TestNG version' - Stack Overflow
I changed my dependency version as 6.14.3 for TestNG in pom.xml and from eclipse Marketplace downloaded TestNG plugin(latest version),got output ...
Read more >
Eclipse: Can't recognize runtime TestNG version #243 - GitHub
at the time git clone the teammates code, i got a quick through the .classpath where has no any testng classpathentry, so i...
Read more >
[Solved]-'Can't recognize runtime TestNG version'-eclipse
Eclipse: In my case I worked with Maven,retreived dependencies of TestNG with version 7.0.0-beta1 in pom.xml and tried to execute my first program...
Read more >
Getting Error related to TestNG version | Selenium Forum
Exception in thread "main" java.lang.RuntimeException : Can't recognize the TestNG version on classpath. Please make sure that there's a ...
Read more >
How To Solve- org.testng.TestNGException - YouTube
Many people are facing issue because of the TestNG version and its compatibility issues. Here is the error log looks likeorg. testng.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found