Can't recognize runtime TestNG version
See original GitHub issueAfter 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:
- Created 7 years ago
- Comments:20 (10 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@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:
cool, thanks