I have been trying from a couple of days to resolve the following error but I am unable to resolve it :(
My module\'s pom.xml file is:
I was facing the same kind of issue, your version numbers in the dependency of Selenium, TestNG, Junit should the same that you have used in your project. For example, in your project you are using the Selenium version 3.8. This version number should be mentioned in the dependency.
org.testng
testng
7.0.0-beta1
test
junit
junit
4.12
test
org.seleniumhq.selenium
selenium-java
3.8.1
org.testng
testng
6.8
test