-
logback There is no conversion class registered for composite conversion word [clr] errorBackend/Springboot 2022. 10. 25. 13:15
logback-spring.xml 설정 시 아래와 같은 에러가 뜰 수 있다.
%PARSER_ERROR[clr] %PARSER_ERROR[clr] %PARSER_ERROR[clr] %PARSER_ERROR[clr] %PARSER_ERROR[clr] %PARSER_ERROR[clr] Application run failed java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.pattern.parser.Compiler@46cdf8bd - There is no conversion class registered for composite conversion word [clr] ERROR in ch.qos.logback.core.pattern.parser.Compiler@46cdf8bd - Failed to create converter for [%clr] keyword
이럴 경우 logback-spring.xml 파일 안에 아래 내용을 추가해주면 설정해둔 log-back이 문제없이 잘 진행된다.
<include resource="org/springframework/boot/logging/logback/defaults.xml" />
'Backend > Springboot' 카테고리의 다른 글
intelij로 jar 앱으로 따로 배포하기 (0) 2022.10.26 Logback을 통한 Log 관리하기 (0) 2022.10.25 JPA Repository 호출 시 NullPointerException, Cannot invoke "repository.메소드명()" because "this.repository" is null 해결 방법 (0) 2022.10.04 [JPA] 영속성 컨텍스트 기본 개념 (1) 2022.09.16 [JPA] NativeQuery를 POJO로 mapping하기 (2) 2022.09.16