Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-10820

JMX configuration generator throws NoClassDefFoundError exception

    XMLWordPrintable

Details

    • Newts - Phase 3

    Description

      If you try to generate the RRD graph definitions the following exceptions

      Exception in thread "main" java.lang.reflect.InvocationTargetException
      	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      	at java.lang.reflect.Method.invoke(Method.java:497)
      	at com.simontuffs.onejar.Boot.run(Boot.java:306)
      	at com.simontuffs.onejar.Boot.main(Boot.java:159)
      Caused by: java.lang.NoClassDefFoundError: org/apache/commons/io/FileUtils
      	at org.opennms.features.jmxconfiggenerator.Starter.doMain(Starter.java:179)
      	at org.opennms.features.jmxconfiggenerator.Starter.main(Starter.java:115)
      	... 6 more
      Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.FileUtils
      	at com.simontuffs.onejar.JarClassLoader.findClass(JarClassLoader.java:602)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	... 8 more
      

      The output is generated on stdout but not written to the file.

      Attachments

        Activity

          People

            mvr Markus von RĂ¼den
            indigo Ronny Trommer
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.