您的位置:首页 > 大数据 > 人工智能

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 与这个相关的包会有重复,去掉一个。
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: