java.lang.NoClassDefFoundError: org/slf4j/Logger

Stack Overflow | Katya Handler | 9 months ago
tip
Do you find the tips below useful? Click on the to mark them and say thanks to rafael . Or join the community to write better ones.
  1. 0
    samebug tip
    This error means there's a class missing in your classpath during runtime. You need to create a jar with all your dependencies and have it in your classpath. Check Maven Assembly Plugin and how to add your dependencies to a jar: https://goo.gl/U2zr8k
  2. 0

    can't start master node on apache spark 1.4.1 (without hadoop)

    Stack Overflow | 2 years ago | Manuel Sopena Ballesteros
    java.lang.NoClassDefFoundError: org/slf4j/Logger
  3. 0

    Missing SLF4J logger on spark workers

    Stack Overflow | 9 months ago | Katya Handler
    java.lang.NoClassDefFoundError: org/slf4j/Logger
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Error to start pre-built spark-master when slf4j is not installed

    Stack Overflow | 2 years ago | tobe
    java.lang.NoClassDefFoundError: org/slf4j/Logger
  6. 0

    Spark without Hadoop: Failed to Launch

    Stack Overflow | 3 months ago | Top.Deck
    java.lang.NoClassDefFoundError: org/slf4j/Logger

  1. rsprangemeijer 1 times, last 1 week ago
  2. Nikolay Rybak 2 times, last 1 month ago
  3. mauritius 1 times, last 5 months ago
  4. r1chjames 2 times, last 5 months ago
  5. Kialandei 3 times, last 6 months ago
1 more registered users
85 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.slf4j.Logger

    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:425)
    6. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
    7. java.lang.ClassLoader.loadClass(ClassLoader.java:358)
    8. java.lang.Class.getDeclaredMethods0(Native Method)
    9. java.lang.Class.privateGetDeclaredMethods(Class.java:2625)
    10. java.lang.Class.getMethod0(Class.java:2866)
    11. java.lang.Class.getMethod(Class.java:1676)
    12. sun.launcher.LauncherHelper.getMainMethod(LauncherHelper.java:494)
    13. sun.launcher.LauncherHelper.checkAndLoadMain(LauncherHelper.java:486)
    13 frames