cucumber-eclipse icon indicating copy to clipboard operation
cucumber-eclipse copied to clipboard

Support Cucumber 7

Open filippor opened this issue 3 years ago • 0 comments

👓 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.

filippor avatar May 27 '22 12:05 filippor