Please see our FAQ (https://www.jacoco.org/jacoco/trunk/doc/faq.html):
Why do I get the error "Can't add different class with same name"? For coverage report generation all classes within a group must have unique names. You get this error during report generation if JaCoCo is supplied with multiple different class files with the same name. To fix this remove those duplicate classes or create separate reports or report groups for each version. Regards, -marc > On 8. Aug 2024, at 12:24, 'Ajith Vembankottu' via JaCoCo and EclEmma Users > <[email protected]> wrote: > > Error i am getting > > /target/classes/META-INF/versions/17/com/fasterxml/jackson/core/io/doubleparser/FastDoubleSwar.class > with JaCoCo 0.8.11.202310140853/f33756c. Can't add different class with same > name: com/fasterxml/jackson/core/io/doubleparser/FastDoubleSwar > > -- > You received this message because you are subscribed to the Google Groups > "JaCoCo and EclEmma Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected] > <mailto:[email protected]>. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jacoco/11393bb3-6ab3-4a58-8d1b-f8f64d3bf92fn%40googlegroups.com > > <https://groups.google.com/d/msgid/jacoco/11393bb3-6ab3-4a58-8d1b-f8f64d3bf92fn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- You received this message because you are subscribed to the Google Groups "JaCoCo and EclEmma Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/00A195BB-6DBF-4328-9FEA-31730511681C%40mountainminds.com.
