java.lang.NoSuchMethodError: org.testng.remote.AbstractRemoteTestNG.addListener(Lorg/testng/ISuiteListener;)
While running the TestNG test under eclipse if you are getting below error:
java.lang.NoSuchMethodError: org.testng.remote.AbstractRemoteTestNG.addListener(Lorg/testng/ISuiteListener;)
Solution: you are encountering this error because you may installed the TestNG in multiple times in eclipse. You can either add dependencies in POM.XML or install "TestNG for Maven" from Eclipse market place.
Please make sure that either you uninstalled TestNG for Maven (optional) from install new software or remove dependencies from POM.XML.
It will work. Leave comments.
Comments
Post a Comment