If you face the issue as "cucumber.api cannot be resolved". Please follow the following steps.
1. Update the dependency to the latest
2. Remove the scope parameter in the pom.xml on all dependency
eg: <!-- <scope>test</scope>-->
3. Click save, the problem will be resolved
1. Update the dependency to the latest
2. Remove the scope parameter in the pom.xml on all dependency
eg: <!-- <scope>test</scope>-->
3. Click save, the problem will be resolved
