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

Solution Verified - Updated -


  • 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


  • Fuse ESB 4.X

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