IntelliJ

[ERROR] SLF4J: No SLF4J providers were found.

HU_717 2024. 11. 9. 23:04

Gradle설정을 한 후 아래와 같은 오류를 볼 수 있는데

SLF4J: No SLF4J providers were found.
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See <https://www.slf4j.org/codes.html#noProviders> for further details.
ERROR StatusLogger Log4j2 could not find a logging implementation. Please add log4j-core to the classpath. Using SimpleLogger to log to the console...

 

 

이렇게 Gradle 설정에 추가해주면 된다

implementation 'org.apache.logging.log4j:log4j-core:2.19.0'
implementation 'org.apache.logging.log4j:log4j-slf4j2-impl:2.19.0'