[slf4j-dev] [Bug 316] New: Exception in thread "main" java.lang.NoSuchMethodError

bugzilla-daemon at qos.ch bugzilla-daemon at qos.ch
Mon Mar 24 20:30:40 CET 2014


http://bugzilla.slf4j.org/show_bug.cgi?id=316

          Priority: P5
            Bug ID: 316
          Assignee: slf4j-dev at qos.ch
           Summary: Exception in thread "main" java.lang.NoSuchMethodError
          Severity: critical
    Classification: Unclassified
                OS: other
          Reporter: mmoreira at lemontech.com.br
          Hardware: Other
            Status: NEW
           Version: 1.6.x
         Component: Core API
           Product: SLF4J

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)

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.qos.ch/pipermail/slf4j-dev/attachments/20140324/23432605/attachment.html>


More information about the slf4j-dev mailing list