码迷,mamicode.com
首页 > 其他好文 > 详细

hbase0.98.7使用遇到 Class path contains multiple SLF4J bindings.错误解决方案

时间:2015-11-17 17:04:45      阅读:236      评论:0      收藏:0      [点我收藏+]

标签:

hbase使用遇到 Class path contains multiple SLF4J bindings.错误解决方案

转载自:http://www.aboutyun.com/thread-7737-1-1.html

错误表现:
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/usr/hbase/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/usr/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
技术分享
含义为:
发生jar包冲突了:
分别为:
file:/usr/hbase/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class
file:/usr/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class
移除其中一个jar包即可
解决方案:
使用下面命令:
/usr/hbase/lib rm slf4j-log4j12-1.7.5.jar
问题解决

hbase0.98.7使用遇到 Class path contains multiple SLF4J bindings.错误解决方案

标签:

原文地址:http://www.cnblogs.com/xiaomila-study/p/4972081.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!