Samebug tips9

Check if you didn't forget to instantiate your topic in the kafka broker.

A few things cause this exception: 1) Check if you have all jars and if they're in the correct path when running. 2) Your classpath might be broken, you can define it in the command line with "java -cp yourClassPath" or at your IDE if you're using one.

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web20815

  • org/apache/hadoop/util/ShutdownHookManager$2
  • org/apache/hadoop/util/ShutdownHookManager$2
  • org/apache/hadoop/util/ShutdownHookManager$2
  • Stack trace

    • java.lang.NoClassDefFoundError: org/apache/hadoop/util/ShutdownHookManager$2 at org.apache.hadoop.util.ShutdownHookManager.getShutdownHooksInOrder( at org.apache.hadoop.util.ShutdownHookManager$ Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.util.ShutdownHookManager$2 at$ at$ at Method) at at java.lang.ClassLoader.loadClass( at sun.misc.Launcher$AppClassLoader.loadClass( at java.lang.ClassLoader.loadClass( ... 2 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    4 times, 1 month ago
    Once, 1 month ago
    Unknown user
    2 times, 3 months ago
    Unknown user
    Once, 5 months ago
    Unknown user
    Once, 6 months ago
    2376 more bugmates