zoukankan      html  css  js  c++  java
  • SLF4J-jar包多绑定冲突解决

    每次执行 hbase shell 时,出现如下提示:

    SLF4J: Class path contains multiple SLF4J bindings.
    SLF4J: Found binding in [jar:file:/itcast/hbase-0.98.18-hadoop2/lib/slf4j-log4j12-1.6.4.jar!/org/slf4j/impl/StaticLoggerBinder.class]
    SLF4J: Found binding in [jar:file:/itcast/hadoop-2.6.0/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.
    

    从提示信息来看,是hadoop的slf4j 与hbase的slf4j jar包发生了冲突,移除其中一个即可

    执行:

    rm -f /itcast/hbase-0.98.18-hadoop2/lib/slf4j-log4j12-1.6.4.jar
    

    移除jar包即可

  • 相关阅读:
    PHP之目录遍历
    PHP之验证码
    PHP之验证码
    PHP之异常处理模式
    PHP之pdo的预处理模式
    PHP之PDO
    PHP之cookie和session
    PHP之MVC
    单例模式
    ThreadLocal
  • 原文地址:https://www.cnblogs.com/shiguangmanbu2016/p/5932844.html
Copyright © 2011-2022 走看看