Tech Me More

To quench our thirst of sharing knowledge about our day to day experience & solution to techincal problems we face in our projects.

Advertise with us !
Send us an email at

Tuesday, April 18, 2017

Solution: java.lang.AbstractMethodError: org.testng Error

How to solve 

java.lang.AbstractMethodError: org.testng.remote.RemoteTestNG$DelegatingTestRunnerFactory.newTestRunner(Lorg/testng/ISuite;Lorg/testng/xml/XmlTest;Ljava/util/Collection;)Lorg/testng/TestRunner;
    at org.testng.SuiteRunner$ProxyTestRunnerFactory.newTestRunner(
    at org.testng.SuiteRunner.init(
    at org.testng.SuiteRunner.<init>(
    at org.testng.TestNG.createSuiteRunner(
    at org.testng.TestNG.createSuiteRunners(
    at org.testng.TestNG.runSuitesLocally(
    at org.testng.remote.RemoteTestNG.initAndRun(
    at org.testng.remote.RemoteTestNG.main(

error ?

This is one of the common issue people face when running testng suites. 

Most common reason is conflicting of testng versions. May be there are 2 versions of testng in your classpath , which are causing this issue.

Check your maven dependency from Build path

[Right click on project-->Build Path -->Configure build path --> Maven dependency and check for testng]

if there are 2 version of testng, delete one. 

This should solve your problem.

If you get stuck somewhere, contact us here : Email

No comments: