ClassNotFoundException / NoClassDefError com/sun/org/apache/xerces/internal/impl/dv/util/Base64 in JBoss EAP 6

Solution Unverified - Updated -

Issue

  • ClassNotFoundException com/sun/org/apache/xerces/internal/impl/dv/util/Base64 in JBoss EAP 6.x?

  • My application depends on 'com/sun/org/apache/xerces/internal/impl/dv/util/Base64' which is part of the JDK 1.6.10 (in rt.jar) but a java.lang.NoClassDefFoundError for this class. What module contains this class?

 ERROR [Thread-235 (HornetQ-client-global-threads-7401757)] [stderr mbyreddy | 9012879059.] Caused by: java.lang.NoClassDefFoundError: com/sun/org/apache/xerces/internal/impl/dv/util/Base64
 ERROR [Thread-235 (HornetQ-client-global-threads-7401757)] [stderr mbyreddy | 9012879059.]      at com.jboss.examples.Example.test(Example.java:210)

Environment

Red Hat JBoss Enterprise Application Platform (EAP) 6.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