SLF4J: Class path contains multiple SLF4J bindings.
2013-10-31 14:51
549 查看
启动项目,服务器用的是resin 3.0 ,在启动的时候 ,eclipse的console中用红色的字体,提示:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/........../lib/slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/........../slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
从中筛选出信息,multiple_bindings ,slf4j-log4j12-1.5.10.jar,以及Class path contains multiple SLF4J bindings.,
说明是这个jar包跟其他的class path 中包含的与此类似的jar包重复了,所以,应该去掉对应的jar包,
在对应的项目上,右键--->属性(Properties)--->Java Build Path 然后选择Libraries 页签,然后会发现slf4j 与这个相关的包会有重复,去掉一个。
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/........../lib/slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/........../slf4j-log4j12-1.5.10.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
从中筛选出信息,multiple_bindings ,slf4j-log4j12-1.5.10.jar,以及Class path contains multiple SLF4J bindings.,
说明是这个jar包跟其他的class path 中包含的与此类似的jar包重复了,所以,应该去掉对应的jar包,
在对应的项目上,右键--->属性(Properties)--->Java Build Path 然后选择Libraries 页签,然后会发现slf4j 与这个相关的包会有重复,去掉一个。
相关文章推荐
- Maven SLF4J: Class path contains multiple SLF4J bindings
- Hbase SLF4J: Class path contains multiple SLF4J bindings 错误
- SLF4J: Class path contains multiple SLF4J bindings
- SLF4J: Class path contains multiple SLF4J bindings.和PleaseHoldException: Master is initializing
- 解决Hbase0.98.2-log日志文件中Class path contains multiple SLF4J bindings.
- 【编译问题/JAVA】Class path contains multiple SLF4J bindings
- SLF4J: Class path contains multiple SLF4J bindings.
- Tensorflow- Class path contains multiple SLF4J bindings
- Hbase安装--错误2: Class path contains multiple SLF4J bindings
- SLF4J: Class path contains multiple SLF4J bindings 错误
- SLF4J: Class path contains multiple SLF4J bindings.问题解决方案
- 使用logback时,出现Maven SLF4J: Class path contains multiple SLF4J bindings
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings.
- 解决Hbase0.98.2-log日志文件中Class path contains multiple SLF4J bindings.
- SLF4J: Class path contains multiple SLF4J bindings 错误
- 解决HBase SLF4J: Class path contains multiple SLF4J bindings.
- 遇到Class path contains multiple SLF4J bindings.该如何解决
- slf4j提示Class path contains multiple SLF4J bindings