You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2013/10/11 04:33:51 UTC

[jira] [Commented] (CXF-5330) java.lang.NoSuchMethodError after the upgrade of CXF version 2.6.2

    [ https://issues.apache.org/jira/browse/CXF-5330?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13792272#comment-13792272 ] 

Freeman Fang commented on CXF-5330:
-----------------------------------

Hi,

This is caused by xmlschema version conflict, CXF 2.6.2 need use xmlschema 2.0.3, check your websphere container lib to see what's the xmlschema version there.

BTW, this question really should be posted on the users mailing list, but not on jira.

Freeman

> java.lang.NoSuchMethodError after the upgrade of CXF version 2.6.2
> ------------------------------------------------------------------
>
>                 Key: CXF-5330
>                 URL: https://issues.apache.org/jira/browse/CXF-5330
>             Project: CXF
>          Issue Type: Test
>          Components: JAX-WS Runtime
>    Affects Versions: 2.6.2, Invalid
>         Environment: WebSphere Application Server 8.5
>            Reporter: firefly
>            Priority: Critical
>
> Hi,
> We used the CXF version 2.6.2 and build the ear.
>  When we tried to start the EAR, we are getting the following error:
> Invocation of init method failed; nested exception is java.lang.NoSuchMethodError: org/apache/ws/commons/schema/XmlSchemaCollection.read(Lorg/w3c/dom/Document;Ljava/lang/String;)Lorg/apache/ws/commons/schema/XmlSchema;
>  at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1338)
> What needs to be done to resolve this?



--
This message was sent by Atlassian JIRA
(v6.1#6144)