SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding.
SLF4J: Your binding is version 1.5.5 or earlier.
SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x
Aug 8, 2012 3:56:54 PM org.apache.catalina.core.StandardContext listenerStart
SEVERE: Exception sending context initialized event to listener instance of class org.springframework.web.util.Log4jConfigListenerjava.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder;
at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)
at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)
at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)
at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)
at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)
at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)
at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
at org.springframework.util.PropertyPlaceholderHelper. (PropertyPlaceholderHelper.java:40)at org.springframework.util.SystemPropertyUtils.(SystemPropertyUtils.java:49)
Dependency are
[WARNING] The POM for org:jfreechart:jar:1.0.14 is missing, no dependency inform ation available
[WARNING] The POM for org:JFreeCharts:jar:1.0 is missing, no dependency information available
[WARNING] The POM for org.cpr:cpr:jar:1.0 is missing, no dependency information available
[WARNING] The artifact axis:axis-jaxrpc:jar:1.4 has been relocated to org.apache.axis:axis-jaxrpc:jar:1.4
[INFO]
[INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ JiraWeb ---
[WARNING] Missing POM for org.jiraAPI:soap:jar:4.4.5
[WARNING] Missing POM for org.jiraAPI:soapDEV:jar:4.4.5
[WARNING] Missing POM for org:jfreechart:jar:1.0.14
[WARNING] Missing POM for org:JFreeCharts:jar:1.0
[WARNING] While downloading axis:axis-jaxrpc:1.4
This artifact has been relocated to org.apache.axis:axis-jaxrpc:1.4.
[WARNING] Missing POM for org.cpr:cpr:jar:1.0
[INFO] com.jpmc.gti.jira:JiraWeb:war:1.0.1-SNAPSHOT
[INFO] +- org.springframework:spring-context:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-aop:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-core:jar:3.0.5.RELEASE:compile
[INFO] | +- org.springframework:spring-expression:jar:3.0.5.RELEASE:compile
[INFO] | - org.springframework:spring-asm:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-context-support:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-web:jar:3.0.5.RELEASE:compile
[INFO] | - aopalliance:aopalliance:jar:1.0:compile
[INFO] +- org.springframework:spring-webmvc:jar:3.0.5.RELEASE:compile
[INFO] +- org.springframework:spring-tx:jar:3.0.5.RELEASE:compile
[INFO] +- javax.servlet:servlet-api:jar:2.5:provided
[INFO] +- org.directwebremoting:dwr:jar:3.0rc1:compile
[INFO] | - org.mortbay.jetty:cometd:jar:6.1.4:compile
[INFO] | - org.mortbay.jetty:jetty-util:jar:6.1.4:compile
[INFO] +- org.jiraAPI:soap:jar:4.4.5:compile
[INFO] +- org.jiraAPI:soapDEV:jar:4.4.5:compile
[INFO] +- commons-logging:commons-logging:jar:1.1.1:compile
[INFO] +- commons-lang:commons-lang:jar:2.4:compile
[INFO] +- commons-pool:commons-pool:jar:1.4:compile
[INFO] +- commons-collections:commons-collections:jar:3.2:compile
[INFO] +- commons-dbcp:commons-dbcp:jar:1.2.2:compile
[INFO] +- commons-discovery:commons-discovery:jar:0.4:compile
[INFO] +- commons-net:commons-net:jar:1.4.1:compile
[INFO] | - oro:oro:jar:2.0.8:compile
[INFO] +- commons-io:commons-io:jar:1.4:compile
[INFO] +- commons-fileupload:commons-fileupload:jar:1.2:compile
[INFO] +- log4j:log4j:jar:1.2.14:compile
[INFO] +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile
[INFO] | - org.slf4j:slf4j-api:jar:1.6.1:compile
[INFO] +- junit:junit:jar:4.8.2:compile
[INFO] +- oracle:oracle:jar:11.1.0.6:compile
[INFO] +- javax.servlet:jstl:jar:1.1.2:runtime
[INFO] +- taglibs:standard:jar:1.1.2:compile
[INFO] +- org.apache.tiles:tiles-jsp:jar:2.2.2:compile
[INFO] | +- org.apache.tiles:tiles-servlet:jar:2.2.2:compile
[INFO] | - org.apache.tiles:tiles-template:jar:2.2.2:compile
[INFO] +- org.apache.tiles:tiles-core:jar:2.2.2:compile
[INFO] | +- commons-digester:commons-digester:jar:2.0:compile
[INFO] | - org.slf4j:jcl-over-slf4j:jar:1.5.8:compile
[INFO] +- org.apache.tiles:tiles-api:jar:2.2.2:compile
[INFO] +- org.apache.poi:poi:jar:3.7:compile
[INFO] +- org.apache.poi:poi-ooxml:jar:3.7:compile
[INFO] | +- org.apache.poi:poi-ooxml-schemas:jar:3.7:compile
[INFO] | | +- org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile
[INFO] | | | - stax:stax-api:jar:1.0.1:compile
[INFO] | | - org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0:compile
[INFO] | - dom4j:dom4j:jar:1.6.1:compile
[INFO] | - xml-apis:xml-apis:jar:1.0.b2:compile
[INFO] +- org.springframework:spring-test:jar:3.0.5.RELEASE:test
[INFO] +- org.easymock:easymock:jar:2.5.2:test
[INFO] +- org.easymock:easymockclassextension:jar:2.5.2:test
[INFO] | +- cglib:cglib-nodep:jar:2.2:test
[INFO] | - org.objenesis:objenesis:jar:1.2:test
[INFO] +- net.sf.ezmorph:ezmorph:jar:0.8.1:compile
[INFO] +- jfree:jcommon:jar:1.0.9:compile
[INFO] +- org:jfreechart:jar:1.0.14:compile
[INFO] +- org:JFreeCharts:jar:1.0:compile
[INFO] +- axis:axis:jar:1.4:compile
[INFO] | +- org.apache.axis:axis-saaj:jar:1.4:compile
[INFO] | - axis:axis-wsdl4j:jar:1.5.1:runtime
[INFO] +- org.apache.axis:axis-jaxrpc:jar:1.4:compile
[INFO] +- org.cpr:cpr:jar:1.0:compile
[INFO] +- com.sun.jersey:jersey-core:jar:1.12:compile
[INFO] +- com.sun.jersey:jersey-client:jar:1.12:compile
[INFO] +- net.sf.json-lib:json-lib:jar:jdk15:2.3:compile
[INFO] | - commons-beanutils:commons-beanutils:jar:1.8.0:compile
[INFO] +- org.quartz-scheduler:quartz:jar:2.1.5:compile
[INFO] | - c3p0:c3p0:jar:0.9.1.1:compile
[INFO] - javax.mail:mail:jar:1.4:compile
[INFO] - javax.activation:activation:jar:1.1:compile
Anyone has faced this issue.. any pointer will be really helpful. Thanks.
2
votes
What SLF4J related jar files do you have? Should be at least two, api and bindings. Their versions need to match.
– Thilo
57.[INFO] +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile 58.[INFO] | - org.slf4j:slf4j-api:jar:1.6.1:compile
– user1584586
i have added the dependency tree ...
– user1584586
I have the three JARs.. slf4j-api-1.6.6, slf4j-log4j12-1.6.6 and log4j1.2.17. Did i miss any other JARs
– user1584586