-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Receiving error in cucumber4 #26
Comments
Have you tried with serenity-cucumber5? |
No i haven't tried.But with same cucumber4 i have few projects working fine. |
This error means you don’t have a cucumber dependency in your project |
I have cucumber java 4.2.0 and serenity cucumber4 |
P.S.Im getting this error after the test execution completes and success. |
It's during report generation. Make sure you have the correct version of cucumber for the version of serenity (see https://github.com/serenity-bdd/serenity-core#what-is-the-latest-stable-version-i-should-use). |
@wakaleo Im utilizing the below serenity core | serenity-cucumber4 | Cucumber | restassured |
Hello @wakaleo any update on this issue? i am encuntering this one even though i already have updated the versions compatible. but my Java version is 17 |
Use the latest versions of the libraries - look at the starter projects to see what these are. |
we do have restrictions in libraries to be used, that's why we can't use the latest one. here is the versions that we are using: |
Using such old versions will be a problem for you, particularly if you are moving to Java 17. We could have a look as part of a commercial support package, but there may be library conflicts that can only be resolved by upgrading. |
02:59:34 [ERROR] - Found neither Cucumber 2.x.x nor Cucumber 4.x runtime in classpath
02:59:34 [WARN ] - Failed to load requirements: Found neither Cucumber 2.x.x nor Cucumber 4.x runtime in classpath
java.lang.RuntimeException: Found neither Cucumber 2.x.x nor Cucumber 4.x runtime in classpath
at net.thucydides.core.requirements.model.cucumber.CucumberParser.loadCucumberFeatures(CucumberParser.java:118) ~[serenity-model-2.0.83.jar:2.0.83]
The text was updated successfully, but these errors were encountered: