Hi,

there is immediate help in our FAQ:

  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.

  http://www.jacoco.org/jacoco/trunk/doc/faq.html


The full background information can be read here:

  http://www.jacoco.org/jacoco/trunk/doc/classids.html

Regards,
-marc

On 2018-01-17 20:52, [email protected] wrote:
Hi JaCoCo Users,

I have a situation here, I am trying to generate jacoco reports as per
individual project directories, which give 10 different reports. I am
trying to generate 1 single report by combining all the 10 reports

I am following below procedure to generate final jacoco Report

1) Generating Individual Test Reports using jacocoTestReport
2) Merging all the Individual reports using jacocoMerge
3)Generating root report based on all the individual jacocoTestReports
using jacocoRootReport
 1 & 2 steps are success but when generating root report I am getting
following error

Caused by: java.lang.IllegalStateException: Can't add different class
with same name: com/ge/hcit/is/iscommon/config/IsfCommonConfiguration

Let me know if someone have figured out a solution for this situation

Immediate help appreciated...!!!

--
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/01c2b47efd11001b0487a59baefc1311%40mountainminds.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to