Reputation: 35
When I am trying to deploy my war file from tomcat to websphere I am getting the following error. 1)org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [org.apache.cxf.bus.spring.SpringBus]: Constructor threw exception; nested exception is org.apache.cxf.bus.extension.ExtensionException: Could not load extension class org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl. 2)org.apache.cxf.bus.extension.ExtensionException: Could not load extension class org.apache.cxf.ws.policy.AssertionBuilderRegistryImpl. 3)java.lang.IncompatibleClassChangeError: org.apache.neethi.AssertionBuilderFactory
I tried by changing the class loader from parent first to parent last(Vice-Versa).But still I am getting same error
Help me out.
Upvotes: 0
Views: 401
Reputation: 18050
There are potentially several issues with your app:
WEB-INF/lib
directory.DisableIBMJAXWSEngine
property and configure module classloader for your war
to parent last
.I still would recommend migrating to Liberty if possible, instead of traditional.
Upvotes: 1