byte-buddy
byte-buddy copied to clipboard
ByteBuddy and JaCoCo ClassNotFoundException
Hi, I would like to instrument and add validation to the constructors of my Record classes. To do that I would like to use ByteBuddy and I think I have the soluton ready but....
I am facing the following problem: Caused by: java.lang.ClassNotFoundException: org.jacoco.agent.rt.internal_b6258fc.Offline
Using the following JaCoCO
<dependency>
<groupId>org.jacoco</groupId>
<artifactId>org.jacoco.agent</artifactId>
<classifier>runtime</classifier>
<version>0.8.8</version>
<scope>test</scope>
</dependency>
How does this error occur? Is there no log or anything?