[
https://issues.apache.org/jira/browse/CXF-7769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16524792#comment-16524792
]
Colm O hEigeartaigh commented on CXF-7769:
------------------------------------------
CXF 2.7.18 works with Spring 3.0.7.RELEASE and WSS4J 1.6.19.
CXF 3.2.5 works with Spring 4.3.18.RELEASE and WSS4J 2.2.2.
So if you want Spring 4 then upgrade to CXF 3.2.5 and WSS4J 2.2.2. WSS4J 2.2.x
contains some API changes though, which is why you get the error about
org.apache.ws.security.validate.Validator. In WSS4J 2.2.2 that is
"org.apache.wss4j.dom.validate.Validator":
[http://ws.apache.org/wss4j/xref/org/apache/wss4j/dom/validate/Validator.html]
[http://ws.apache.org/wss4j/migration/wss4j20.html]
> Cxf with spring 4.3.17 not working
> ----------------------------------
>
> Key: CXF-7769
> URL: https://issues.apache.org/jira/browse/CXF-7769
> Project: CXF
> Issue Type: Bug
> Components: Core
> Affects Versions: 2.7.18
> Environment: Spring 4.3.17
> Cxf rt-core and other cxf 2.7.18
> wss4j 1.6.18
> Reporter: Deva Kumaresan
> Priority: Critical
> Labels: and, compatibility, cxf, spring
>
> Hi, I am upgrading spring framework version from 4.1.16 to 4.3.17 in our web
> application.
> I am also using cxf version 2.7.18 and mule 3.8.0 along spring in my project
> . I am using maven for building the project.
> When I deploy the application in jetty 8x version, it throws the below error.
> I also tried upgrading the cxf versions above 3.x also. Still same problem
> comes. This looks some compatibility version. FYI i am using WSS4J jar
> version 1.6.18. I tried other versions too but did not work. Please assist in
> correct version of cxf for spring 4.3.17 and mule 3.8.0 and relevent wss4j.
>
>
> Caused by: org.springframework.beans.factory.BeanDefinitionStoreException:
> Unexpected exception parsing XML document from
> /WEB-INF/esf_config_deploy.xml; nested exception is or
> g.springframework.beans.FatalBeanException: Invalid NamespaceHandler class
> [org.mule.module.cxf.config.CxfNamespaceHandler] for namespace
> [http://www.mulesoft.org/schema/mule/c
> xf]: problem with handler class file or dependent class; nested exception is
> java.lang.NoClassDefFoundError: *org/apache/ws/security/validate/Validator*
>
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)