2
votes
  1. SLF4J: slf4j-api 1.6.x (or later) is incompatible with this binding.

  2. SLF4J: Your binding is version 1.5.5 or earlier.

  3. SLF4J: Upgrade your binding to version 1.6.x. or 2.0.x

  4. 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.Log4jConfigListener

  5. java.lang.NoSuchMethodError: org.slf4j.impl.StaticLoggerBinder.getSingleton()Lorg/slf4j/impl/StaticLoggerBinder;

  6. at org.slf4j.LoggerFactory.bind(LoggerFactory.java:121)

  7. at org.slf4j.LoggerFactory.performInitialization(LoggerFactory.java:111)

  8. at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:268)

  9. at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:241)

  10. at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:155)

  11. at org.apache.commons.logging.impl.SLF4JLogFactory.getInstance(SLF4JLogFactory.java:131)

  12. at org.apache.commons.logging.LogFactory.getLog(LogFactory.java:685)
    at org.springframework.util.PropertyPlaceholderHelper. (PropertyPlaceholderHelper.java:40)

  13. at org.springframework.util.SystemPropertyUtils.(SystemPropertyUtils.java:49)

    Dependency are

  14. [WARNING] The POM for org:jfreechart:jar:1.0.14 is missing, no dependency inform ation available

  15. [WARNING] The POM for org:JFreeCharts:jar:1.0 is missing, no dependency information available

  16. [WARNING] The POM for org.cpr:cpr:jar:1.0 is missing, no dependency information available

  17. [WARNING] The artifact axis:axis-jaxrpc:jar:1.4 has been relocated to org.apache.axis:axis-jaxrpc:jar:1.4

  18. [INFO]

  19. [INFO] --- maven-dependency-plugin:2.1:tree (default-cli) @ JiraWeb ---

  20. [WARNING] Missing POM for org.jiraAPI:soap:jar:4.4.5

  21. [WARNING] Missing POM for org.jiraAPI:soapDEV:jar:4.4.5

  22. [WARNING] Missing POM for org:jfreechart:jar:1.0.14

  23. [WARNING] Missing POM for org:JFreeCharts:jar:1.0

  24. [WARNING] While downloading axis:axis-jaxrpc:1.4

  25. This artifact has been relocated to org.apache.axis:axis-jaxrpc:1.4.

  26. [WARNING] Missing POM for org.cpr:cpr:jar:1.0

  27. [INFO] com.jpmc.gti.jira:JiraWeb:war:1.0.1-SNAPSHOT

  28. [INFO] +- org.springframework:spring-context:jar:3.0.5.RELEASE:compile

  29. [INFO] | +- org.springframework:spring-aop:jar:3.0.5.RELEASE:compile

  30. [INFO] | +- org.springframework:spring-beans:jar:3.0.5.RELEASE:compile

  31. [INFO] | +- org.springframework:spring-core:jar:3.0.5.RELEASE:compile

  32. [INFO] | +- org.springframework:spring-expression:jar:3.0.5.RELEASE:compile

  33. [INFO] | - org.springframework:spring-asm:jar:3.0.5.RELEASE:compile

  34. [INFO] +- org.springframework:spring-context-support:jar:3.0.5.RELEASE:compile

  35. [INFO] +- org.springframework:spring-jdbc:jar:3.0.5.RELEASE:compile

  36. [INFO] +- org.springframework:spring-web:jar:3.0.5.RELEASE:compile

  37. [INFO] | - aopalliance:aopalliance:jar:1.0:compile

  38. [INFO] +- org.springframework:spring-webmvc:jar:3.0.5.RELEASE:compile

  39. [INFO] +- org.springframework:spring-tx:jar:3.0.5.RELEASE:compile

  40. [INFO] +- javax.servlet:servlet-api:jar:2.5:provided

  41. [INFO] +- org.directwebremoting:dwr:jar:3.0rc1:compile

  42. [INFO] | - org.mortbay.jetty:cometd:jar:6.1.4:compile

  43. [INFO] | - org.mortbay.jetty:jetty-util:jar:6.1.4:compile

  44. [INFO] +- org.jiraAPI:soap:jar:4.4.5:compile

  45. [INFO] +- org.jiraAPI:soapDEV:jar:4.4.5:compile

  46. [INFO] +- commons-logging:commons-logging:jar:1.1.1:compile

  47. [INFO] +- commons-lang:commons-lang:jar:2.4:compile

  48. [INFO] +- commons-pool:commons-pool:jar:1.4:compile

  49. [INFO] +- commons-collections:commons-collections:jar:3.2:compile

  50. [INFO] +- commons-dbcp:commons-dbcp:jar:1.2.2:compile

  51. [INFO] +- commons-discovery:commons-discovery:jar:0.4:compile

  52. [INFO] +- commons-net:commons-net:jar:1.4.1:compile

  53. [INFO] | - oro:oro:jar:2.0.8:compile

  54. [INFO] +- commons-io:commons-io:jar:1.4:compile

  55. [INFO] +- commons-fileupload:commons-fileupload:jar:1.2:compile

  56. [INFO] +- log4j:log4j:jar:1.2.14:compile

  57. [INFO] +- org.slf4j:slf4j-log4j12:jar:1.6.1:compile

  58. [INFO] | - org.slf4j:slf4j-api:jar:1.6.1:compile

  59. [INFO] +- junit:junit:jar:4.8.2:compile

  60. [INFO] +- oracle:oracle:jar:11.1.0.6:compile

  61. [INFO] +- javax.servlet:jstl:jar:1.1.2:runtime

  62. [INFO] +- taglibs:standard:jar:1.1.2:compile

  63. [INFO] +- org.apache.tiles:tiles-jsp:jar:2.2.2:compile

  64. [INFO] | +- org.apache.tiles:tiles-servlet:jar:2.2.2:compile

  65. [INFO] | - org.apache.tiles:tiles-template:jar:2.2.2:compile

  66. [INFO] +- org.apache.tiles:tiles-core:jar:2.2.2:compile

  67. [INFO] | +- commons-digester:commons-digester:jar:2.0:compile

  68. [INFO] | - org.slf4j:jcl-over-slf4j:jar:1.5.8:compile

  69. [INFO] +- org.apache.tiles:tiles-api:jar:2.2.2:compile

  70. [INFO] +- org.apache.poi:poi:jar:3.7:compile

  71. [INFO] +- org.apache.poi:poi-ooxml:jar:3.7:compile

  72. [INFO] | +- org.apache.poi:poi-ooxml-schemas:jar:3.7:compile

  73. [INFO] | | +- org.apache.xmlbeans:xmlbeans:jar:2.3.0:compile

  74. [INFO] | | | - stax:stax-api:jar:1.0.1:compile

  75. [INFO] | | - org.apache.geronimo.specs:geronimo-stax-api_1.0_spec:jar:1.0:compile

  76. [INFO] | - dom4j:dom4j:jar:1.6.1:compile

  77. [INFO] | - xml-apis:xml-apis:jar:1.0.b2:compile

  78. [INFO] +- org.springframework:spring-test:jar:3.0.5.RELEASE:test

  79. [INFO] +- org.easymock:easymock:jar:2.5.2:test

  80. [INFO] +- org.easymock:easymockclassextension:jar:2.5.2:test

  81. [INFO] | +- cglib:cglib-nodep:jar:2.2:test

  82. [INFO] | - org.objenesis:objenesis:jar:1.2:test

  83. [INFO] +- net.sf.ezmorph:ezmorph:jar:0.8.1:compile

  84. [INFO] +- jfree:jcommon:jar:1.0.9:compile

  85. [INFO] +- org:jfreechart:jar:1.0.14:compile

  86. [INFO] +- org:JFreeCharts:jar:1.0:compile

  87. [INFO] +- axis:axis:jar:1.4:compile

  88. [INFO] | +- org.apache.axis:axis-saaj:jar:1.4:compile

  89. [INFO] | - axis:axis-wsdl4j:jar:1.5.1:runtime

  90. [INFO] +- org.apache.axis:axis-jaxrpc:jar:1.4:compile

  91. [INFO] +- org.cpr:cpr:jar:1.0:compile

  92. [INFO] +- com.sun.jersey:jersey-core:jar:1.12:compile

  93. [INFO] +- com.sun.jersey:jersey-client:jar:1.12:compile

  94. [INFO] +- net.sf.json-lib:json-lib:jar:jdk15:2.3:compile

  95. [INFO] | - commons-beanutils:commons-beanutils:jar:1.8.0:compile

  96. [INFO] +- org.quartz-scheduler:quartz:jar:2.1.5:compile

  97. [INFO] | - c3p0:c3p0:jar:0.9.1.1:compile

  98. [INFO] - javax.mail:mail:jar:1.4:compile

  99. [INFO] - javax.activation:activation:jar:1.1:compile

  100. Anyone has faced this issue.. any pointer will be really helpful. Thanks.

1
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:compileuser1584586
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 JARsuser1584586

1 Answers

10
votes

"org.slf4j:jcl-over-slf4j:jar:1.5.8:compile"

That one needs to be upgraded to 1.6.6.

It provides the implementation of Commons Logging that dispatches to SLF4J. (You should probably also exclude the other commons-logging jar because of that).