Why am I seeing xerces class cast exceptions when deploying my bundle?

Solution Verified - Updated -

Issue

  • On deploying a bundle on ServiceMix the following exception occurs: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl

  • On deploying an OSGi bundle on FUSE ESB the exception is thrown: java.lang.ClassCastException: com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl

Environment

  • Fuse ESB 4.X

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.