Cobertura: Difference between revisions
mNo edit summary |
mNo edit summary |
||
Line 9: | Line 9: | ||
Turns out JUnit is running with a later version than the one in Ant's classpath. I removed the 1.7 version from Eclipse, and this phase worked. I also ran into an issues where classes were reporting 100%. This is caused by the same problem. | Turns out JUnit is running with a later version than the one in Ant's classpath. I removed the 1.7 version from Eclipse, and this phase worked. I also ran into an issues where classes were reporting 100%. This is caused by the same problem. | ||
[[Category:Java]] |
Latest revision as of 03:12, 10 October 2007
Cobertura is giving me this error:
<geshi> [cobertura-report] Cobertura 1.7 - GNU GPL License (NO WARRANTY) - See COPYRIGHT file [cobertura-report] Cobertura: Error reading file C:\dev\cobertura.ser: net.sourceforge.cobertura.coveragedata.CoverageDataContainer; local class incompatible: stream classdesc serialVersionUID = 2, local class serialVersionUID = 2152686494816595840 [cobertura-report] Error: Unable to read from data file C:\dev\cobertura.ser </geshi>
Turns out JUnit is running with a later version than the one in Ant's classpath. I removed the 1.7 version from Eclipse, and this phase worked. I also ran into an issues where classes were reporting 100%. This is caused by the same problem.