You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Martin Johansson (JIRA)" <ji...@apache.org> on 2013/07/16 13:12:51 UTC
[jira] [Reopened] (CXF-5106) Absence of specified version for
xerces in cxf-codegen-plugin:2.7.1:wsdl2java causes
org.apache.xerces.impl.dv.DVFactoryException: DTD factory class
org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from
DTDDVFactory.
[ https://issues.apache.org/jira/browse/CXF-5106?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Johansson reopened CXF-5106:
-----------------------------------
Estimated Complexity: Moderate (was: Unknown)
Repoens as I got the error again using version 2.7.5
[ERROR] Failed to execute goal org.apache.cxf:cxf-codegen-plugin:2.7.5:wsdl2java (generate-sources) on project cxf-webservice-soap12-adapter: Execution generate-sources of goal org.apache.cxf:cxf-codegen-plugin:2.7.5:wsdl2java failed: org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory. -> [Help 1]
> Absence of specified version for xerces in cxf-codegen-plugin:2.7.1:wsdl2java causes org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apache.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
> ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
> Key: CXF-5106
> URL: https://issues.apache.org/jira/browse/CXF-5106
> Project: CXF
> Issue Type: Bug
> Affects Versions: 2.7.1
> Reporter: Martin Johansson
> Fix For: NeedMoreInfo
>
>
> When running cxf-codegen-plugin:2.7.1:wsdl2java (generate-sources) @ some-artifact, I get the following error:
> [INFO] org.apache.xerces.impl.dv.DVFactoryException: DTD factory class org.apach
> e.xerces.impl.dv.dtd.DTDDVFactoryImpl does not extend from DTDDVFactory.
> The error seems to be originated from not specifying xerces:xercesImpl version inside the pom-file:
> http://svn.apache.org/repos/asf/cxf/trunk/maven-plugins/codegen-plugin/pom.xml
> NON-WORKING SETTINGS
> <plugin>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-codegen-plugin</artifactId>
> <version>2.7.1</version>
> <executions>
> <execution>
> <id>generate-sources</id>
> <phase>generate-sources</phase>
> <goals>
> <goal>wsdl2java</goal>
> </goals>
> <configuration>
> <!--sourceRoot>${project.build.directory}/generated-sources/cxf</sourceRoot> -->
> <wsdlOptions>
> <wsdlOption>
> <SOME OPTIONS
> </wsdlOption>
> </wsdlOptions>
> </configuration>
> </execution>
> </executions>
> </plugin>
> WORKING SETTINGS
> <plugin>
> <groupId>org.apache.cxf</groupId>
> <artifactId>cxf-codegen-plugin</artifactId>
> <version>2.7.1</version>
> <dependencies>
> <dependency>
> <groupId>xerces</groupId>
> <artifactId>xercesImpl</artifactId>
> <version>2.8.1</version>
> </dependency>
> </dependencies>
> <executions>
> <execution>
> <id>generate-sources</id>
> <phase>generate-sources</phase>
> <goals>
> <goal>wsdl2java</goal>
> </goals>
> <configuration>
> <!--sourceRoot>${project.build.directory}/generated-sources/cxf</sourceRoot> -->
> <wsdlOptions>
> <wsdlOption>
> <SOME OPTIONS
> </wsdlOption>
> </wsdlOptions>
> </configuration>
> </execution>
> </executions>
> </plugin>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira