cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-3774) ValidationEventHandler referenced by CXF 2.4.2, no longer present in XmlSchema 2.0
Date Tue, 30 Aug 2011 02:32:37 GMT

     [ https://issues.apache.org/jira/browse/CXF-3774?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved CXF-3774.
-------------------------------

    Resolution: Not A Problem

> ValidationEventHandler referenced by CXF 2.4.2, no longer present in XmlSchema 2.0
> ----------------------------------------------------------------------------------
>
>                 Key: CXF-3774
>                 URL: https://issues.apache.org/jira/browse/CXF-3774
>             Project: CXF
>          Issue Type: Bug
>            Reporter: Piotr Findeisen
>            Assignee: Freeman Fang
>
> After upgrading CXF to 2.4.2 and, as a consequence, XmlSchema to 2.0 (using either jar
provided in CXF distribution or direct download from XmlSchema 2 project website) i get the
following:
> {noformat}
> Caused by: java.lang.NoSuchMethodError: org.apache.ws.commons.schema.XmlSchemaCollection.read(Lorg/w3c/dom/Document;Ljava/lang/String;Lorg/apache/ws/commons/schema/ValidationEventHandler;)Lorg/apache/ws/commons/schema/XmlSchema;
> 	at org.apache.cxf.common.xmlschema.SchemaCollection.read(SchemaCollection.java:180)
> 	at org.apache.cxf.databinding.AbstractDataBinding.addSchemaDocument(AbstractDataBinding.java:159)
> 	at org.apache.cxf.jaxb.JAXBDataBinding.initialize(JAXBDataBinding.java:396)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.buildServiceFromClass(ReflectionServiceFactoryBean.java:467)
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.buildServiceFromClass(JaxWsServiceFactoryBean.java:615)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.initializeServiceModel(ReflectionServiceFactoryBean.java:530)
> 	at org.apache.cxf.service.factory.ReflectionServiceFactoryBean.create(ReflectionServiceFactoryBean.java:278)
> 	at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.create(JaxWsServiceFactoryBean.java:179)
> 	at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:99)
> 	at org.apache.cxf.frontend.ServerFactoryBean.create(ServerFactoryBean.java:105)
> 	at org.apache.cxf.jaxws.JaxWsServerFactoryBean.create(JaxWsServerFactoryBean.java:175)
> {noformat}
> {{org.apache.cxf.common.xmlschema.SchemaCollection}} is a class in CXF jar, {{org.apache.ws.commons.schema.XmlSchemaCollection}}
is a class in XmlSchema jar, {{org.apache.ws.commons.schema.ValidationEventHandler}} [does
not and will not exist, according to XMLSCHEMA-15|https://issues.apache.org/jira/browse/XMLSCHEMA-15].

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message