java.lang.NoClassDefFoundError: org/slf4j/spi/LocationAwareLogger

logging-log4j-user | Ralph Goers | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Log4j - Users - Problems with log4j 2

    nabble.com | 1 year ago
    java.lang.NoClassDefFoundError: org/slf4j/spi/LocationAwareLogger
  2. 0

    Problems with log4j 2

    logging-log4j-user | 4 years ago | wangke
    java.lang.NoClassDefFoundError: org/slf4j/spi/LocationAwareLogger
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Re: Problems with log4j 2

    logging-log4j-user | 4 years ago | Ralph Goers
    java.lang.NoClassDefFoundError: org/slf4j/spi/LocationAwareLogger
  5. 0

    RE: Problems with log4j 2

    logging-log4j-user | 4 years ago | wangke
    java.lang.NoClassDefFoundError: org/slf4j/spi/LocationAwareLogger
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.spi.LocationAwareLogger

    at java.net.URLClassLoader$1.run()
  2. Java RT
    ClassLoader.loadClass
    1. java.net.URLClassLoader$1.run(URLClassLoader.java:202)
    2. java.security.AccessController.doPrivileged(Native Method)
    3. java.net.URLClassLoader.findClass(URLClassLoader.java:190)
    4. java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    5. sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
    6. java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    6 frames
  3. Apache Log4j SLF4J Binding
    SLF4JLoggerContext.getLogger
    1. org.apache.logging.slf4j.SLF4JLoggerContext.getLogger(SLF4JLoggerContext.java:39)
    1 frame
  4. Apache Log4j API
    LogManager.getLogger
    1. org.apache.logging.log4j.LogManager.getLogger(LogManager.java:342)
    1 frame
  5. test
    HelloWorld.<clinit>
    1. test.HelloWorld.<clinit>(HelloWorld.java:7)
    1 frame