SLF4J绑定问题

时间:2012-08-08 11:54:28

标签: slf4j

  1. SLF4J:slf4j-api 1.6.x(或更高版本)与此绑定不兼容。
  2. SLF4J:您的绑定是1.5.5或更早版本。
  3. SLF4J:将绑定升级到1.6.x版。或2.0.x
  4. 2012年8月8日下午3:56:54 org.apache.catalina.core.StandardContext listenerStart
    SEVERE:将上下文初始化事件发送到类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)<< li>
  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)
    在org.springframework.util.PropertyPlaceholderHelper。 (PropertyPlaceholderHelper.java:40)
  13. 在org.springframework.util.SystemPropertyUtils。(SystemPropertyUtils.java:49)

    依赖

  14. [警告]组织的POM:jfreechart:jar:1.0.14缺失,没有依赖性通知
  15. [警告]组织的POM:JFreeCharts:jar:1.0缺失,没有可用的依赖项信息
  16. [警告]缺少org.cpr:cpr:jar:1.0的POM,没有可用的依赖项信息
  17. [警告]工件轴:axis-jaxrpc:jar:1.4已重定位到org.apache.axis:axis-jaxrpc:jar:1.4
  18. [INFO]
  19. [INFO] --- maven-dependency-plugin:2.1:tree(default-cli)@ JiraWeb ---
  20. [警告] org.jiraAPI缺少POM:soap:jar:4.4.5
  21. [警告] org.jiraAPI缺少POM:soapDEV:jar:4.4.5
  22. [警告]组织缺少POM:jfreechart:jar:1.0.14
  23. [警告]组织缺少POM:JFreeCharts:jar:1.0
  24. [警告]下载轴时:axis-jaxrpc:1.4
  25. 此工件已重定位到org.apache.axis:axis-jaxrpc:1.4。
  26. [警告] org.cpr缺少POM: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:提供
  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. 任何人都遇到过这个问题..任何指针都会非常有用。谢谢。

1 个答案:

答案 0 :(得分:10)

  

“org.slf4j:JCL-过SLF4J:罐:1.5.8:编译”

那个需要升级到1.6.6。

它提供了调度到SLF4J的Commons Logging的实现。 (你可能也应该排除其他的commons-logging jar)。