[jboss-jira] [JBoss JIRA] (AS7-6636) CNFE when using org.apache.xerces.util.XMLCatalogResolver

Magesh Bojan (JIRA) jira-events at lists.jboss.org
Tue Feb 26 10:28:56 EST 2013


Magesh Bojan created AS7-6636:
---------------------------------

             Summary: CNFE when using org.apache.xerces.util.XMLCatalogResolver
                 Key: AS7-6636
                 URL: https://issues.jboss.org/browse/AS7-6636
             Project: Application Server 7
          Issue Type: Bug
    Affects Versions: 7.1.1.Final
            Reporter: Magesh Bojan


CNFE is thrown when using org.apache.xerces.util.XMLCatalogResolver. The xml-resolver used by xerces seem to have not been added as a dependency in that module. Example exception:
{noformat}
Caused by: java.lang.NoClassDefFoundError: org/apache/xerces/util/XMLCatalogResolver
        at org.switchyard.validate.xml.XmlValidator.setupValidatingParser(XmlValidator.java:135)
        at org.switchyard.validate.xml.XmlValidator.<init>(XmlValidator.java:112)
        at org.switchyard.validate.xml.XmlValidatorFactory.newValidator(XmlValidatorFactory.java:39)
        at org.switchyard.validate.xml.XmlValidatorFactory.newValidator(XmlValidatorFactory.java:29)
        at org.switchyard.validate.ValidatorUtil.newValidators(ValidatorUtil.java:102)
        at org.switchyard.validate.ValidatorRegistryLoader.registerValidators(ValidatorRegistryLoader.java:85)
        at org.switchyard.deploy.internal.Deployment.registerValidators(Deployment.java:257)
        at org.switchyard.deploy.internal.Deployment.doInit(Deployment.java:114)
        at org.switchyard.deploy.internal.AbstractDeployment.init(AbstractDeployment.java:142)
        at org.switchyard.as7.extension.deployment.SwitchYardDeployment.start(SwitchYardDeployment.java:103)
        at org.switchyard.as7.extension.services.SwitchYardService.start(SwitchYardService.java:78)
{noformat}

The trace source can be found here https://github.com/igarashitm/core/blob/SWITCHYARD-1314/validate/src/main/java/org/switchyard/validate/xml/XmlValidator.java

--
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


More information about the jboss-jira mailing list