IBM Support

Process requests on Windows fail with NoClassDefFoundError

Troubleshooting


Problem

Attempts to install the IBM UrbanCode Deploy Windows agent on UNIX or Linux results in the JVM error "java.lang.NoClassDefFoundError".

Symptom

An exception similar to the following will be thrown causing process requests to fail.

java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser
                at java.lang.Class.getDeclaredMethods0(Native Method)
                at java.lang.Class.privateGetDeclaredMethods(Unknown Source)
                at java.lang.Class.getMethod0(Unknown Source)
                at java.lang.Class.getMethod(Unknown Source)
                at org.codehaus.groovy.tools.GroovyStarter.rootLoader (GroovyStarter.java:99)
                at org.codehaus.groovy.tools.GroovyStarter.main (GroovyStarter.java:130)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.CommandLineParser
                at java.net.URLClassLoader$1.run(Unknown Source)
                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)
                ... 6 more

[{"Product":{"code":"SS4GSP","label":"IBM UrbanCode Deploy"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":"General Information","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"}],"Version":"6.1;6.1.1;6.1.2;6.1.3;6.2","Edition":"","Line of Business":{"code":"LOB77","label":"Automation Platform"}}]

Log InLog in to view more of this document

This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.

Document Information

Modified date:
17 June 2018

UID

swg2C1000049