Uploaded image for project: 'OpenNMS Horizon'
  1. OpenNMS Horizon
  2. HZN-432

JMX configuration generator throws NoClassDefFoundError exception

    Details

    • Sprint:
      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

            • Assignee:
              mvr Markus von Rüden
              Reporter:
              indigo Ronny Trommer
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: