[ http://jira.codehaus.org/browse/MCOBERTURA-24?page=all ]

Adrian updated MCOBERTURA-24:
-----------------------------

    Attachment: com.dolby.pics.core.ejb.bean.CountryMappingBeanTestCase.txt

> IncompatibleClassChangeError executing junit tests
> --------------------------------------------------
>
>          Key: MCOBERTURA-24
>          URL: http://jira.codehaus.org/browse/MCOBERTURA-24
>      Project: Maven 2.x Cobertura Plugin
>         Type: Bug

>  Environment: Maven 2.0.3
> Cobertura 2.2-SNAPSHOT
>     Reporter: Adrian
>     Priority: Blocker
>  Attachments: com.dolby.pics.core.ejb.bean.CountryMappingBeanTestCase.txt
>
>
> I am getting IncompatibleClassChangeError when cobertura runs my JUnit tests.
> The error appears to be caused by an XML library. Perhaps xerces?
> It first occurred when DBUnit tried loading an XML file, so I commented the 
> code out, and then it occurred in EJB 3 container parsing some XML.
> I read a 
> [thread|http://www.nabble.com/-m2-IncompatibleClassChangeError-using-maven-surefire-plugin-2.1.3-t1412704.html]
>  which described the problem too.
> The error actually happens inside the junit test execution, however the junit 
> tests execute correctly outside cobertura with just surefire.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to