ClassNotFoundException: org.jboss.messaging.util.SecurityUtil
Issue
- We see the following exception when trying to encrypt the sucker password:
java -cp jboss-messaging-client.jar org.jboss.messaging.util.SecurityUtil CLEARTEXTPASSWORD
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/messaging/util/SecurityUtil
Caused by: java.lang.ClassNotFoundException: org.jboss.messaging.util.SecurityUtil
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: org.jboss.messaging.util.SecurityUtil. Program will exit.
Environment
- JBoss Enterprise Application Platform
- 5.0.0
- 5.0.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.