reportportal / agent-java-cucumber

Cucumber JVM version [1.0.0; 2.0.0) adapter
Apache License 2.0
26 stars 16 forks source link

Getting this exception: "Couldn't load plugin class: com.epam.reportportal.cucumber.ScenarioReporter" for agent-java-cucumber2 #97

Closed amalbaccar-hub closed 8 months ago

amalbaccar-hub commented 11 months ago

Hello all, I am using cucumber java v 2.4.0 and here's how I use dependencies in my build.gradle file:

dependencies { compile project(':my-proj) implementation 'io.cucumber:cucumber-java:2.4.0' implementation 'io.cucumber:cucumber-junit:2.4.0' implementation 'com.epam.reportportal:agent-java-cucumber2:5.1.5' testImplementation 'com.epam.reportportal:logger-java-logback:5.1.6' testImplementation 'junit:junit:4.13.2' testImplementation 'ch.qos.logback:logback-classic:1.3.8' compile group: 'junit', name: 'junit', version: '4.13.2' }

Actually I followed example from report portal java examples: https://github.com/reportportal/examples-java/tree/master/example-cucumber2

However I'm getting this exception: "Couldn't load plugin class: com.epam.reportportal.cucumber.ScenarioReporter"

Any help how to fix this please?

HardNorth commented 8 months ago

@amalbaccar-hub There are to little details to answer what's wrong, I need full stack trace and runner class code to help you.

amalbaccar-hub commented 8 months ago

@HardNorth Thank you for your response. However this is already resolved. I will close the issue.