I'm using Cucumber 1.2.2 jar and getting error "Class cannot be resolved to a type" for the below code. Could someone suggest the solution.
You should have this import - import cucumber.api.junit.Cucumber;
.
These options should be displayed by Eclipse on hovering over the error.