Running Appache CXF 2.7.10 deployment on WebSphere App Server 8.5 -
when deployed our cxf web service on websphere 8.5 received exception:
org.springframework.beans.factory.beancreationexception: error creating bean name 'cxf' defined in class path resource [meta-inf/cxf/cxf.xml]: instantiation of bean failed; nested exception org.springframework.beans.beaninstantiationexception: not instantiate bean class [org.apache.cxf.bus.spring.springbus]: constructor threw exception; nested exception org.apache.cxf.bus.extension.extensionexception: not load extension class org.apache.cxf.ws.policy.assertionbuilderregistryimpl. ... more caused by: org.springframework.beans.beaninstantiationexception: not instantiate bean class [org.apache.cxf.bus.spring.springbus]: constructor threw exception; nested exception org.apache.cxf.bus.extension.extensionexception: not load extension class org.apache.cxf.ws.policy.assertionbuilderregistryimpl. ... more caused by: org.apache.cxf.bus.extension.extensionexception: not load extension class org.apache.cxf.ws.policy.assertionbuilderregistryimpl. ... more caused by: java.lang.incompatibleclasschangeerror: org.apache.neethi.assertionbuilderfactory
root cause using neethi implementation websphere server libraries
one solution set parent_last classloadeer order in:
enterprise applications > {app_name} > class loader
and given web module at:
enterprise applications > {app_name} > manage modules > {web_module_name}
i'd set in deployment configuration, there no way if ear app format not used.
Comments
Post a Comment