common/common test failures with ibm jdk due to excluded jaxp-api dependency -----------------------------------------------------------------------------
Key: CXF-2341 URL: https://issues.apache.org/jira/browse/CXF-2341 Project: CXF Issue Type: Bug Environment: ibm jdk 5 on linux and aix Reporter: Peter Jones Getting class not found exceptions for class javax.xml.transform.stax.StAXResult when running StaxUtilsTest, W3CDOMStreamReaderTest and XMLUtilsTest with the ibm jdk. Stack traces look something like this: {code} java.lang.NoClassDefFoundError: javax.xml.transform.stax.StAXResult at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.getOutputHandler(TransformerImpl.java:416) at com.sun.org.apache.xalan.internal.xsltc.trax.TransformerImpl.transform(TransformerImpl.java:334) at org.apache.cxf.helpers.XMLUtils.writeTo(XMLUtils.java:191) at org.apache.cxf.helpers.XMLUtils.writeTo(XMLUtils.java:169) at org.apache.cxf.helpers.XMLUtils.writeTo(XMLUtils.java:161) at org.apache.cxf.helpers.XMLUtils.writeTo(XMLUtils.java:155) at org.apache.cxf.helpers.XMLUtils.toString(XMLUtils.java:222) at org.apache.cxf.staxutils.StaxUtilsTest.cycleString(StaxUtilsTest.java:207) at org.apache.cxf.staxutils.StaxUtilsTest.testEmptyNamespace(StaxUtilsTest.java:186) {code} We add a jaxp-ri dependency specifically for the ibm jdk, in a couple of places where it's needed but it seems in the parent/pom.xml we exclude jaxp-api: {code} <dependency> <groupId>com.sun.xml.parsers</groupId> <artifactId>jaxp-ri</artifactId> <version>1.4.2</version> <exclusions> <exclusion> <groupId>javax.xml.parsers</groupId> <artifactId>jaxp-api</artifactId> </exclusion> </exclusions> </dependency> {code} Is there a reason we still need to exclude jaxp-api? If it's not excluded, the failing tests will pass. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.