java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V

QOS.ch JIRA | Michael Douglas | 3 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

    [SLF4J-307] Exception in thread "main" java.lang.NoSuchMethodError - QOS.ch JIRA

    qos.ch | 12 months ago
    java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  2. 0

    Running... SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/User/.m2/repository/org/slf4j/slf4j-log4j12/1.5.6/slf4j-log4j12-1.5.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/Users/User/.m2/repository/org/glassfish/hk2/external/bean-validator/1.1.0/bean-validator-1.1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: The requested version 1.5.6 by your slf4j binding is not compatible with [1.6] SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details. Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:99) at org.springframework.core.env.MutablePropertySources.addLast(MutablePropertySources.java:103) at org.springframework.core.env.StandardEnvironment.customizePropertySources(StandardEnvironment.java:78) at org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:117) at org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54) at org.springframework.context.support.AbstractApplicationContext.createEnvironment(AbstractApplicationContext.java:427) at org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:227) at org.springframework.context.support.AbstractRefreshableApplicationContext.<init>(AbstractRefreshableApplicationContext.java:90) at org.springframework.context.support.AbstractRefreshableConfigApplicationContext.<init>(AbstractRefreshableConfigApplicationContext.java:59) at org.springframework.context.support.AbstractXmlApplicationContext.<init>(AbstractXmlApplicationContext.java:61) at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:137) at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:94) at br.com.lemontech.service.util.SpringUtil.<clinit>(SpringUtil.java:13) at br.com.lemontech.service.MainClass.run(MainClass.java:65) at br.com.lemontech.service.MainClass.main(MainClass.java:40)

    QOS.ch JIRA | 3 years ago | Michael Douglas
    java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  3. 0

    Running... SLF4J: Class path contains multiple SLF4J bindings. SLF4J: Found binding in [jar:file:/C:/Users/User/.m2/repository/org/slf4j/slf4j-log4j12/1.5.6/slf4j-log4j12-1.5.6.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: Found binding in [jar:file:/C:/Users/User/.m2/repository/org/glassfish/hk2/external/bean-validator/1.1.0/bean-validator-1.1.0.jar!/org/slf4j/impl/StaticLoggerBinder.class] SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation. SLF4J: The requested version 1.5.6 by your slf4j binding is not compatible with [1.6] SLF4J: See http://www.slf4j.org/codes.html#version_mismatch for further details. Exception in thread "main" java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:99) at org.springframework.core.env.MutablePropertySources.addLast(MutablePropertySources.java:103) at org.springframework.core.env.StandardEnvironment.customizePropertySources(StandardEnvironment.java:78) at org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:117) at org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54) at org.springframework.context.support.AbstractApplicationContext.createEnvironment(AbstractApplicationContext.java:427) at org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:227) at org.springframework.context.support.AbstractRefreshableApplicationContext.<init>(AbstractRefreshableApplicationContext.java:90) at org.springframework.context.support.AbstractRefreshableConfigApplicationContext.<init>(AbstractRefreshableConfigApplicationContext.java:59) at org.springframework.context.support.AbstractXmlApplicationContext.<init>(AbstractXmlApplicationContext.java:61) at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:137) at org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:94) at br.com.lemontech.service.util.SpringUtil.<clinit>(SpringUtil.java:13) at br.com.lemontech.service.MainClass.run(MainClass.java:65) at br.com.lemontech.service.MainClass.main(MainClass.java:40)

    QOS.ch JIRA | 3 years ago | Michael Douglas
    java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    java Exception in thread &quot;main&quot; java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker - 为程序员服务

    outofmemory.cn | 12 months ago
    java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V
  6. 0

    Servlet is currently unavailable FJ21

    com.br | 1 year ago
    java.lang.NoSuchMethodError: org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;[Ljava/lang/Object;Ljava/lang/Throwable;)V

  1. tvrmsmith 1 times, last 9 months ago
5 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.NoSuchMethodError

    org.slf4j.spi.LocationAwareLogger.log(Lorg/slf4j/Marker;Ljava/lang/String;ILjava/lang/String;Ljava/lang/Throwable;)V

    at org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug()
  2. Apache Commons Logging
    SLF4JLocationAwareLog.debug
    1. org.apache.commons.logging.impl.SLF4JLocationAwareLog.debug(SLF4JLocationAwareLog.java:99)
    1 frame
  3. Spring Core
    StandardEnvironment.<init>
    1. org.springframework.core.env.MutablePropertySources.addLast(MutablePropertySources.java:103)
    2. org.springframework.core.env.StandardEnvironment.customizePropertySources(StandardEnvironment.java:78)
    3. org.springframework.core.env.AbstractEnvironment.<init>(AbstractEnvironment.java:117)
    4. org.springframework.core.env.StandardEnvironment.<init>(StandardEnvironment.java:54)
    4 frames
  4. Spring Context
    FileSystemXmlApplicationContext.<init>
    1. org.springframework.context.support.AbstractApplicationContext.createEnvironment(AbstractApplicationContext.java:427)
    2. org.springframework.context.support.AbstractApplicationContext.<init>(AbstractApplicationContext.java:227)
    3. org.springframework.context.support.AbstractRefreshableApplicationContext.<init>(AbstractRefreshableApplicationContext.java:90)
    4. org.springframework.context.support.AbstractRefreshableConfigApplicationContext.<init>(AbstractRefreshableConfigApplicationContext.java:59)
    5. org.springframework.context.support.AbstractXmlApplicationContext.<init>(AbstractXmlApplicationContext.java:61)
    6. org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:137)
    7. org.springframework.context.support.FileSystemXmlApplicationContext.<init>(FileSystemXmlApplicationContext.java:94)
    7 frames
  5. br.com.lemontech
    MainClass.main
    1. br.com.lemontech.service.util.SpringUtil.<clinit>(SpringUtil.java:13)
    2. br.com.lemontech.service.MainClass.run(MainClass.java:65)
    3. br.com.lemontech.service.MainClass.main(MainClass.java:40)
    3 frames