Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • ClassCastException for JAXBDataBinding in deploying CXF within EAP 6.4

    Posted on

    Hi community,
    I'm trying to deploy a fuse project (JBossFuse v6.3) on JBoss EAP v6.4.
    There is a simple route within the war that expose a soap CXF endpoint.
    I declare CXF dependencies as provided e configured jboss-deployment-structure to include CXF modules placed in EAP.
    When EAP starts, the route is not initialized due to a ClassCastException for JAXBDataBinding.

    Caused by: java.lang.ClassCastException: class org.apache.cxf.jaxb.JAXBDataBinding
    at java.lang.Class.asSubclass(Unknown Source) [rt.jar:1.8.0_141]
    at org.apache.cxf.common.classloader.ClassLoaderUtils.loadClass(ClassLoaderUtils.java:269)
    at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.getJAXBClass(ReflectionServiceFactoryBean.java:239)
    at org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean.createDefaultDataBinding(ReflectionServiceFactoryBean.java:219)
    ... 43 more

    Anyone can help?

    Thank you in advance

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat