[
https://issues.apache.org/jira/browse/CXF-7769?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16526674#comment-16526674
]
Deva Kumaresan commented on CXF-7769:
-------------------------------------
Colm,
I have upgraded to Java 1.8 for my application.
currently using spring 4.3.18, cxf 3.2.5, mule 3.8.0 and removed wss4j and
tried- getting same error. also used wss4j 2.2.2 the same error. Please suggest
here.
Still i am getting below error while deploying in jetty.
org.mule.api.config.ConfigurationException: Unexpected exception parsing XML
document from /WEB-INF/esf_config_deploy.xml; nested exception is
org.springframework.be
ans.FatalBeanException: Invalid NamespaceHandler class
[org.mule.module.cxf.config.CxfNamespaceHandler] for namespace
[http://www.mulesoft.org/schema/mule/cxf]: prob
lem with handler class file or dependent class; nested exception is
java.lang.NoClassDefFoundError: org/apache/ws/security/validate/Validator
(org.mule.api.lifecycle
.InitialisationException)
at
org.mule.config.builders.AbstractConfigurationBuilder.configure(AbstractConfigurationBuilder.java:49)
at
org.mule.config.builders.AbstractResourceConfigurationBuilder.configure(AbstractResourceConfigurationBuilder.java:69)
at
org.mule.context.DefaultMuleContextFactory$2.configure(DefaultMuleContextFactory.java:108)
at
org.mule.context.DefaultMuleContextFactory.doCreateMuleContext(DefaultMuleContextFactory.java:222)
at
org.mule.context.DefaultMuleContextFactory.createMuleContext(DefaultMuleContextFactory.java:103)
Caused by:
java.lang.ClassNotFoundException: org.apache.ws.security.validate.Validator
at
org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:50)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:247)
at
org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239)
> 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
> Assignee: Colm O hEigeartaigh
> 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)