Closed dipanjan-it closed 4 years ago
Which agent version you tried to use?
Tried with the following version
<version>5.0.0-BETA-10</version>
Error message - io.cucumber.core.exception.CucumberException: Couldn't load plugin class: com.epam.reportportal.cucumber.ScenarioReporter. It does not implement io.cucumber.plugin.Plugin
Tried with the following version
<version>5.0.0-BETA-10</version>
Error message - io.cucumber.core.exception.CucumberException: Couldn't load plugin class: com.epam.reportportal.cucumber.ScenarioReporter Caused by: java.lang.NoClassDefFoundError: cucumber/api/event/ConcurrentEventListener Caused by: java.lang.ClassNotFoundException: cucumber.api.event.ConcurrentEventListener
Probable cause of the error - ConcurrentEventListener interface is no longer available from cucumber.api.event. Rather it's available form io.cucumber.plugin in the latest version of Cucumber.
@dipanjan-it Well, OK. I'll put it into my list.
You have three options here: wait for uncertain amount of time, downgrade cucumber 5 version to a point when it become compatible with agent-java-cucumber4
or provide yours implementation.
I am facing same problem with cucumber version 5 +. io.cucumber.core.exception.CucumberException: Couldn't load plugin class: com.epam.reportportal.cucumber.ScenarioReporter Caused by: java.lang.NoClassDefFoundError: cucumber/api/event/ConcurrentEventListener Caused by: java.lang.ClassNotFoundException: cucumber.api.event.ConcurrentEventListener
It's still in the process of the implementation but there is an alpha version.
Hello,
Could you please let us know when can we expect an updated version of agent to support Cucumber-Java 5 version? We have upgraded our framework to use 5.6.0 version of Cucumber-Java and seems like the agent is not compatible with it.
Thanks!