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 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.