Menu

#180 Error running cobertura in maven

open-fixed
nobody
None
5
2012-09-07
2012-08-01
gbonk
No

I run the command .... mvn cobertura:cobertura

And I get an exception with the cause being "Caused by: java.lang.NoClassDefFoundError: org/apache/maven/reporting/MavenReport"

This is in Maven 3.0.4

Discussion

  • gbonk

    gbonk - 2012-08-01

    maven output

     
  • gbonk

    gbonk - 2012-09-07
    • status: open --> open-fixed
     
  • gbonk

    gbonk - 2012-09-07

    figured out this was a corrupted Maven 2.0.8 pom. I found if I deleted my local repo and did non use the enterprise repository the artifacts that were downloaded were slightly different then what was in our repo and cobertura worked correctly. I removed the offending artifacts from our repo

     

Log in to post a comment.