首页 > 其他 > 详细

SLF4J: Class path contains multiple SLF4J bindings.

时间:2016-12-10 22:03:57      阅读:270      评论:0      收藏:0      [点我收藏+]

库冲突导致的异常,由于多次引入SLF4j包导致。

It seems you have several implementation of SLF4J; you should exclude all the not necessary ones

 

maven项目的解决方法:

 

通过mvn dependency:tree命令,确定那些库使用了SLF4j,然后选择一个,其他的使用exclusions排除。

技术分享

 

最后发现是slf4j-simple 与slf4j冲突。

 

SLF4J: Class path contains multiple SLF4J bindings.

原文:http://www.cnblogs.com/bigbigtree/p/6157025.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!