Failed to determine BusFactory implementation class name.: java.lang.ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory in JBoss EAP 7

Solution In Progress - Updated -

Issue

  • Web Service application failing to deploy in JBoss EAP 7 with:
SEVERE [org.apache.cxf.BusFactory] (MSC service thread 1-1) Failed to determine BusFactory implementation class name.: java.lang.ClassCastException: class org.apache.cxf.bus.spring.SpringBusFactory
    at java.lang.Class.asSubclass(Class.java:3404) [rt.jar:1.8.0_181]
    at org.apache.cxf.BusFactory.getBusFactoryClass(BusFactory.java:390) [cxf-core-3.0.12.jar:3.0.12]
    at org.apache.cxf.BusFactory.newInstance(BusFactory.java:316) [cxf-core-3.0.12.jar:3.0.12]
    at org.apache.cxf.BusFactory.newInstance(BusFactory.java:303) [cxf-core-3.0.12.jar:3.0.12]
    at org.jboss.wsf.stack.cxf.deployment.aspect.CXFInstanceProviderDeploymentAspect.setUserEndpointBus(CXFInstanceProviderDeploymentAspect.java:68)
    at org.jboss.wsf.stack.cxf.deployment.aspect.CXFInstanceProviderDeploymentAspect.start(CXFInstanceProviderDeploymentAspect.java:54)
    at org.jboss.as.webservices.deployers.AspectDeploymentProcessor.deploy(AspectDeploymentProcessor.java:73)

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content