一零六、SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [jar:file:/h【完美解决】

SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/spark/jars/slf4j-log4j12-1.7.16.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/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.
SLF4J: Actual binding is of type [org.slf4j.impl.Log4jLoggerFactory]

主意为log4j模块冲突,直接移除一个就可以了

rm -rf /home/hadoop/share/hadoop/common/lib/slf4j-log4j12-1.7.5.jar

效果

猜你喜欢

转载自blog.csdn.net/m0_54925305/article/details/125119404