카테고리 없음

SLF4J: Class path contains multiple SLF4J providers

냐옴 2023. 12. 19. 14:38

 

 

 

SLF4J: Class path contains multiple SLF4J providers.
SLF4J: Found provider [org.apache.logging.slf4j.SLF4JServiceProvider@536aaa8d]
SLF4J: Found provider [ch.qos.logback.classic.spi.LogbackServiceProvider@e320068]
SLF4J: See https://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual provider is of type [org.apache.logging.slf4j.SLF4JServiceProvider@536aaa8d]
Exception in thread "main" java.lang.ExceptionInInitializerError
	at com.example.demo.BackendApplication.main(BackendApplication.java:15)
Caused by: org.apache.logging.log4j.LoggingException: log4j-slf4j2-impl cannot be present with log4j-to-slf4j
	at org.apache.logging.slf4j.Log4jLoggerFactory.validateContext(Log4jLoggerFactory.java:70)