Issue while Using Extent Reports | Selenium Forum
M
Manjunath K S Posted on 28/06/2022
For my Project i want to use any Reporting plugin to get better reports , so i have added "Extent Reports" the below files under 
Resourses folder (am using JDK 18 for my Project)
File 1: extent.properties

File 2 : extent-config.xml


I have added the below dependecies into my pom.xml

<groupId>tech.grasshopper</groupId>
<artifactId>extentreports-cucumber6-adapter</artifactId>
<version>2.1.0</version>
</dependency>
<!-- https://mvnrepository.com/artifact/com.aventstack/extentreports -->
<dependency>
<groupId>com.aventstack</groupId>
<artifactId>extentreports</artifactId>
<version>5.0.4</version>

But When i run my project am getting the below error

io.cucumber.core.exception.CucumberException: java.lang.NoClassDefFoundError: io/cucumber/messages/internal/com/google/protobuf/GeneratedMessageV3

 

at io.cucumber.core.plugin.PluginFactory.newInstance(PluginFactory.java:120)


A
Ashish Replied on 12/07/2022

Its plugin version issues

Refer

https://community.smartbear.com/t5/Cucumber-Open/Getting-Initialization-Failed-error-after-adding-Extent-Report/td-p/226061