The solution to this problem is easy, just add thefollowing to your project's pom file where you declareuse of the cxf-codegen-plugin:

<plugin>

<groupId>org.apache.cxf</groupId>

<artifactId>cxf-codegen-plugin</artifactId>

<version>${cxf.version}</version>

<dependencies>

<!-- need to add this to get around the following error onIBM's JDK org.apache.xerces.impl.dv.DVFactoryException: DTD factoryclass org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extendfrom DTDDVFactory.

-->

<dependency>

<groupId>xerces</groupId>

<artifactId>xercesImpl</artifactId>

<version>2.8.1</version>

</dependency>

</dependencies>

</plugin>

This is another case of the small differences in the IBMJDK and Sun SDK. In code that is expected to run onmultiple target platforms I would place this dependencyin a profile set to activate on detection of an IBM JDK.