Caused by: java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath. Either remove Logback or the competing implementation (class org.slf4j.impl.Reload4jLoggerFactory loaded from file:/C:/Users/User/.gradle/caches/modules-2/files-2.1/org.slf4j/slf4j-reload4j/1.7.36/db708f7d959dee1857ac524636e85ecf2e1781c1/slf4j-reload4j-1.7.36.jar). If you are using WebLogic you will need to add 'org.slf4j' to prefer-application-packages in WEB-INF/weblogic.xml: org.slf4j.impl.Reload4jLoggerFactory
at org.springframework.util.Assert.instanceCheckFailed(Assert.java:702)
at org.springframework.util.Assert.isInstanceOf(Assert.java:621)
원인 :
log4j library와 slf4j-reload4j-1.7.36.jar의 log가 중복이어서 생긴 문제.
해결 :
slf4-reload4j-1.7.36의 library를 제외 또는 삭제 시켜준다.
'error' 카테고리의 다른 글
[ERROR] 클래스 'DriverSpy'을(를) 해결할 수 없습니다 (0) | 2023.01.10 |
---|---|
[ERROR] Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.1 (0) | 2023.01.09 |
[ERROR][intellij] java.lang.OutOfMemoryError (0) | 2022.12.20 |
[ERROR] Cannot resolve symbol SpringBootApplicaition (0) | 2022.12.20 |
[ERROR] TNS:listener does not currently know of SID given in connect descriptor (0) | 2022.12.08 |