java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser

The OpenNMS Issue Tracker | Markus von Rüden | 2 years ago
  1. 0

    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser

    GitHub | 4 years ago | jcarsique
    java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser
  2. 0

    [NMS-7053] Installer does not run install -dis correctly on Windows - The OpenNMS Issue Tracker

    opennms.org | 1 year ago
    java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser
  3. 0

    Exception in thread "main" java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser

    GitHub | 4 years ago | sharp
    java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    At Step 9/10 I get an exception. {quote} C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET OPENNMS_HOME=C:/OpenNMS C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET DBNAME=opennms C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET DBURL=jdbc:postgresql://localhost:5432/ C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET ETCDIR=C:/OpenNMS/etc C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>SET SERVLETDIR=C:/OpenNMS/webapps/opennms C:\Users\marskuh\Downloads\standalone-opennms-installer-14.0.0-0.20141019.rc.stable.1.14.0.78\opennms-installer>"C:\Program Files\Java\jdk1.7.0_10\bin\java" -Xmx512m "-Dopennms.home=C:/OpenNMS" "-Dinstall.dir=C:/OpenNMS" "-Dinstall.database.name=opennms" "-Dinstall.database.url=jdbc:postgresql://localhost:5432/" "-Dinstall.etc.dir=C:/OpenNMS/etc" "-Dinstall.servlet.dir=C:/OpenNMS/webapps/opennms" -classpath "C:/OpenNMS/lib/opennms_bootstrap.jar;C:/OpenNMS/lib/opennms_install.jar" org.opennms.install.Installer -dis -l C:/OpenNMS/lib java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser at java.lang.Class.getDeclaredMethods0(Native Method) at java.lang.Class.privateGetDeclaredMethods(Class.java:2442) at java.lang.Class.getMethod0(Class.java:2685) at java.lang.Class.getMethod(Class.java:1620) at sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494) at sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486) Caused by: java.lang.ClassNotFoundException: org.apache.commons.cli.CommandLineParser at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308) at java.lang.ClassLoader.loadClass(ClassLoader.java:356) ... 6 more Exception in thread "main" {quote}

    The OpenNMS Issue Tracker | 2 years ago | Markus von Rüden
    java.lang.NoClassDefFoundError: org/apache/commons/cli/CommandLineParser
  6. 0

    How to Run a Java Class File from the Command Line that was Compiled by Eclipse? External Jar problems

    Stack Overflow | 3 years ago | Matthew Moisen
    java.lang.NoClassDefFoundError: org/apache/lucene/sea rch/Query

  1. Kialandei 3 times, last 2 weeks ago
  2. Cafecanudo 7 times, last 4 months ago
81 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.lang.ClassNotFoundException

    org.apache.commons.cli.CommandLineParser

    at java.net.URLClassLoader$1.run()
  2. Java RT
    LauncherHelper.checkAndLoadMain
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:366)
    2. java.net.URLClassLoader$1.run(URLClassLoader.java:355)
    3. java.security.AccessController.doPrivileged(Native Method)
    4. java.net.URLClassLoader.findClass(URLClassLoader.java:354)
    5. java.lang.ClassLoader.loadClass(ClassLoader.java:423)
    6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    7. java.lang.ClassLoader.loadClass(ClassLoader.java:356)
    8. java.lang.Class.getDeclaredMethods0(Native Method)
    9. java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
    10. java.lang.Class.getMethod0(Class.java:2685)
    11. java.lang.Class.getMethod(Class.java:1620)
    12. sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
    13. sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
    13 frames