jacoco-maven-plugin is failing after updating com.fasterxml.jackson.core:jackson-databind

68 views
Skip to first unread message

Ajith Vembankottu

unread,
Aug 8, 2024, 6:24:26 AM8/8/24
to JaCoCo and EclEmma Users
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

Marc Hoffmann

unread,
Aug 8, 2024, 2:35:36 PM8/8/24
to JaCoCo and EclEmma Users
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 <jac...@googlegroups.com> 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 jacoco+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jacoco/11393bb3-6ab3-4a58-8d1b-f8f64d3bf92fn%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages