Skip to content
Advertisement

Exception in thread “main” cucumber.runtime.CucumberException: No backends were found

I am developing my Selenium-JVM framework with Cucumber and while running my first feature got below error.

Please help.

How did I launch the feature –

  1. Right click on feature file
  2. Select Run As -> Cucumber Feature

Immediate Exception –

JavaScript

What I have in code –

Launcher.java –

JavaScript

Feature file –

JavaScript

List of Dependencies added to list –

JavaScript

My JVM – 1.7

Only this much is available in project.

Please help.

Advertisement

Answer

Make sure you’re adding below dependencies for Maven project:

You can replace version to the latest or the required version:

JavaScript
User contributions licensed under: CC BY-SA
3 People found this is helpful
Advertisement