NoClassDefFoundError: org/jboss/util/NestedException when running twiddle

Solution Verified - Updated -

Issue

  • We get the following error when running twiddle:
    Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/util/NestedException
            at java.lang.ClassLoader.defineClass1(Native Method)
            at java.lang.ClassLoader.defineClass(ClassLoader.java:621)
            at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
     ...
            at java.lang.ClassLoader.loadClass(ClassLoader.java:252)
            at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)
            ... 24 more
    Could not find the main class: org.jboss.console.twiddle.Twiddle.  Program will exit.
    
  • When installed using the RPM, running twiddle.sh from the installed directory (not /bin) the error "Could not find the main class" is recieved.

Environment

  • JBoss Enterprise Application Platform (EAP) 5.1.0 and earlier

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.