-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
java.lang.NoSuchMethodError: cucumber.api.CucumberOptions.snippets()Lcucumber/api/SnippetType; #644
Comments
Note, you can find duplicate classes using |
As an aside, you can pretty much guarantee this kind of problem by shadowing classes. |
@alexec unlikely - as we had multiple rounds of testing, so please follow this process: |
Sorry Peter, I'm talking generally. I've seen so many hard to diagnose bugs with shadow classes, that I expect to find them when they are used. Like this ticket for example. |
@alexec hear ya - there's a very good reason for these "shadow" classes that exist: #444 (comment) also we did trim out annotation methods we did not need such as "snippets". FWIW we have had multiple rounds of beta releases to the community |
Karate has shadow classes for Cucumber core classes but is not ABI compatible (as opposed to API compatible) with them.
Please add the above method.
The text was updated successfully, but these errors were encountered: