当前位置:网站首页>IDEA:SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.
IDEA:SLF4J: Failed to load class “org.slf4j.impl.StaticLoggerBinder“.
2022-07-24 05:05:00 【Liu Chu, Ge Nian】
Report errors
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.
Logging initialized using 'class org.apache.ibatis.logging.stdout.StdOutImpl' adapter.

reason
Through his prompt, enter the official website to check
The reason for the error is that there is less time to compile slf4j-nop.jar slf4j-simple.jar, slf4j-log4j12.jar,slf4j-jdk14.jar or logback-classic.jar One of them jar package , Just add it ( It can only be one , There will be more conflicts ).
You may be running a test module , Or not scope
solve
Add this package and write <scope>compile</scope>
When dependent scope by compile When , So the current dependent package , Will be added when compiling ⼊ Come in , And packing (mvn package) Will also be added ⼊ Come in .
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
<version>1.7.25</version>
<scope>compile</scope>
</dependency>
边栏推荐
- Transpose of array sparse matrix
- How to register and apply for free for Apple Developer account in order to enjoy the upgrade experience at the first time
- PostgreSQL: run PostgreSQL + pgadmin 4 in docker
- 京东方高级副总裁姜幸群:AIoT技术赋能企业物联网转型
- What if the computer desktop gets stuck? Introduction of solutions to computer crash and desktop jamming
- 后 SQL 时代降临:EdgeDB 2.0 发布会预告
- 472-82 (22, 165, 39, sword finger offer II 078, 48. Rotate image)
- Common cross domain problems
- Little black leetcode journey: 100 same trees
- The difference between statement and Preparedstatement and how to use placeholders
猜你喜欢

Want to know how a C program is compiled—— Show you the compilation of the program

The difference between run and start in thread class

Print leap years between 1000 and 2000

打印1000年到2000年之间的闰年

Kingbase v8r6 cluster installation and deployment case - script online one click expansion

HMS core discovery Episode 16 live broadcast preview | play AI's new "sound" state with tiger pier

Yolov7 -- brief introduction of the paper

How can e-commerce projects solve the over issuance of online coupons (troubleshooting + Solutions) (glory Collection)

PostgreSQL: run PostgreSQL + pgadmin 4 in docker

postgresql:在Docker中运行PostgreSQL + pgAdmin 4
随机推荐
postgresql:在Docker中运行PostgreSQL + pgAdmin 4
Illustration and text demonstrate the movable range of the applet movable view
What is the sandbox technology in the data anti disclosure scheme?
e D件系统 NFDavi化,对工程师达高
PHP修改配置文件的两种方法
What if the computer desktop gets stuck? Introduction of solutions to computer crash and desktop jamming
。单类型数字传感一个应用程.0。 Up- 开址在出厂
Add.Eslinctrc.js under SRC for the general format of the project
Journey of little black leetcode: 590. Post order traversal of n-ary tree
Esp32 tutorial (I): vscode+platform and vscade+esp-idf
Xiaohongshu joins hands with HMS core to enjoy HD vision and grow grass for a better life
How to do if the right-click attribute of the network neighbor cannot be opened? The solution of the right-click attribute of the network neighbor cannot be opened
XML schema
Kingbase V8R6集群安装部署案例---脚本在线一键扩容
Emqx simple to use
Why can't I hide folders? Solutions to the hidden folders on the computer that can still be seen
Is it true to pay attention to official account and receive Xiaomi mobile power for free? Wechat circle of friends sends Xiaomi mobile power
作、Ho量有关。嵌入,只有一70的该接
Chapter VI more supervision training
Print leap years between 1000 and 2000