文章目录

  • SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
    • 1、问题描述
    • 2、原因
    • 3、解决方法
      • 3.1 查看已存在slf4j版本
      • 3.2 下载slf4j-nop
    • 4、再次启动hadoop

SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder”.

1、问题描述

当我们使用命令启动hadoop时,会报出如下错误:

cd usr/local/hadoop
./sbin/satrt-all.sh

SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.

2、原因

报错提供的网址:http://www.slf4j.org/codes.html#StaticLoggerBinder

所以:只需再绑定一个 slf4j-nop.jar

3、解决方法

3.1 查看已存在slf4j版本

cd /usr/local/hadoop/share/hadoop/common/lib
ls

3.2 下载slf4j-nop

下载网址:Central Repository: org/slf4j/slf4j-nop (maven.org)

使用wget命令下载slf4j-nop-1.7.35.jar

wget https://repo1.maven.org/maven2/org/slf4j/slf4j-nop/1.7.35/slf4j-nop-1.7.35.jar

4、再次启动hadoop

cd /usr/local/hadoop
./sbin/start-all.sh

BUG已解决!!!

SLF4J:Failed to load class org.slf4j.impl.StaticLoggerBinder.相关推荐

  1. Failed to load class org.slf4j.impl.StaticLoggerBinder 报错处理

    我使用的slf4j-log4j12版本是1.7.30,使用时遇到了Failed to load class org.slf4j.impl.StaticLoggerBinder报错.在http://ww ...

  2. 报错:SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.

    报错 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to n ...

  3. 报错:SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder“. SLF4J: Defaulting to no-operation

    报错: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". 然后去 http://www.slf4j. ...

  4. maven报错:SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“. SLF4J: Defaulting to no-ope

      今天在搭建maven项目时报错如下图: SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF ...

  5. IDEA:SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.

    报错 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to n ...

  6. SLF4J: Failed to load class org.slf4j.impl.StaticLoggerBinder.

    SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". Spring Cloud 启动提示: SLF4J: ...

  7. 解决Failed to load class org.slf4j.impl.StaticLoggerBinder

    解决Failed to load class "org.slf4j.impl.StaticLoggerBinder" 解决办法,两步: 一.在编译路径中添加Log4J的包,比如我一 ...

  8. SLF4J:Failed to load class org.slf4j.impl.StaticLoggerBinder

    SLF4J:Failed to load class "org.slf4j.impl.StaticLoggerBinder" 解决方案: <dependency>< ...

  9. SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.解决方法

    在IDEA中启动JAVA程序之后,控制台中报以下错误信息 SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder&quo ...

最新文章

  1. 利用Axes3D绘制三维性能曲面
  2. 区跨链应用 | 区块链创业者不要再骗自己了
  3. java节假日api--关于节假日想到的
  4. 学习笔记第二十五节课
  5. Android异步编程
  6. ASP.NET Core 开发-Entity Framework (EF) Core 1.0 Database First
  7. Exynos4412启动过程分析
  8. 2020年阿里云年中大促【福利】【选品】全攻略
  9. 使用linux 的wget下载国外的域名的地址,下载不了,
  10. magento SEO
  11. Magento调试 - 页面空白,打开错误报告的方法
  12. zabbix4.2学习笔记--监控tomcat
  13. 微软推出 Project Freta:免费查找云虚拟机上的恶意软件
  14. php还原时间戳,如何将php时间戳转换回日期
  15. 机器学习入门好文章--超级推荐
  16. 学习阶段小测,简单的幸运抽奖系统
  17. c语言中printf输出,C语言中printf输出的总结
  18. 应用案例 | 2017款道奇RAM 1500车偶尔指南针无显示、空调不工作故障诊断
  19. Chrome 93 版本新特性 Chrome 93 版本发行说明
  20. 凹凸技术揭秘·羚珑智能设计平台·逐梦设计数智化

热门文章

  1. 人在旅途——》2018年10月6日上海欢乐谷
  2. 抓取中国地震台网最近一年地震数据,生成表格以及地震分布图
  3. 软件需求工程 高校教学平台 软件需求规格说明书 part 3 (重点!!!)
  4. JSE3-类特性-继承,覆盖,多态,static,内部类
  5. 手机上删除的短信怎么找回来
  6. SSM项目答辩问题记录-在线画图网站(draw.io)
  7. 操作系统---IO控制方式
  8. Structured Comparative Analysis of Systems Logs to Diagnose Performance Problems
  9. 一个创业者程序员在CSDN的第一篇blogger
  10. 高考十年后 你最后悔的那些事