In my case i have updated one upper version for cucumber related dependencies in pom and update the pom then run the test. And resolved the issue.