Skip to content
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

Support Cucumber 7 #455

Open
filippor opened this issue May 27, 2022 · 0 comments
Open

Support Cucumber 7 #455

filippor opened this issue May 27, 2022 · 0 comments

Comments

@filippor
Copy link

filippor commented May 27, 2022

👓 What did you see?

When run test
Exception in thread "main" java.lang.NoClassDefFoundError: io/cucumber/messages/Messages$Envelope
at io.cucumber.eclipse.java.plugins.CucumberEclipsePlugin.setEventPublisher(CucumberEclipsePlugin.java:39)
at io.cucumber.core.plugin.Plugins.setEventBusOnEventListenerPlugins(Plugins.java:71)
at io.cucumber.core.runtime.Runtime$Builder.build(Runtime.java:201)
at io.cucumber.core.cli.Main.run(Main.java:85)
at io.cucumber.core.cli.Main.main(Main.java:30)
Caused by: java.lang.ClassNotFoundException: io.cucumber.messages.Messages$Envelope
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:581)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:178)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:522)
... 5 more

✅ What did you expect to see?

test run with success

📦 Which tool/library version are you using?

cucumber-java 7.0.0

Cucumber Eclipse 2.0.0.202205250851 cucumber.eclipse.feature.feature.group null

Eclipse
Version: 2022-03 (4.23.0)
Build id: 20220310-1457

🔬 How could we reproduce it?

  1. Follow https://cucumber.io/docs/guides/10-minute-tutorial/

  2. import maven project in eclipse and run the feature

📚 Any additional context?

If I change cucumber version to 6.11 all works


This text was originally generated from a template, then edited by hand. You can modify the template here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant