반응형

log4j 5

Log4j 설정 오류 – 잘못된 속성 및 로그 파일 생성 실패

애플리케이션 서버 기동 중 다음과 같은 로그 관련 예외가 발생했습니다.예외 메시지log4j:WARN No such property [datePattern] in org.apache.log4j.RollingFileAppender.log4j:ERROR setFile(null,true) call failed.java.io.FileNotFoundException: /app/logs/engine/output.log (그런 파일이나 디렉터리가 없습니다) at java.io.FileOutputStream.open0(Native Method) at org.apache.log4j.FileAppender.setFile(FileAppender.java:294) at org.apache.log4j.Rollin..

Class version is supported up to JDK 1.7 – 상위 JDK 클래스 파일 로딩 오류

경고 메시지Processing the annotation of the class [...] failed but the deployment process will continue: java.lang.IllegalArgumentException: Class version is supported up to JDK 1.7.오류 의미이 메시지는 특정 클래스가 JDK 9 이상의 버전으로 컴파일된 클래스 파일임에도,현재 애플리케이션 서버(JBoss, WildFly 등)가 JDK 8 이하만 지원하는 설정으로 실행되고 있어 발생합니다.예시 경로META-INF/versions/9/org/apache/logging/log4j/util/...→ 이는 Java 9의 멀티릴리즈 JAR(Multi-Release JAR) 구조이며,..

SLF4J: Class path contains multiple bindings – 로깅 충돌 경고

SLF4J 기반 애플리케이션 실행 중 다음과 같은 경고 메시지가 발생하는 경우가 있습니다.경고 로그SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [vfs:/path/to/APP/WEB-INF/lib/logback-classic-1.1.2.jar/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: Found binding in [vfs:/path/to/APP/WEB-INF/lib/slf4j-log4j12-1.6.2.jar/org/slf4j/impl/StaticLoggerBinder.class]SLF4J: See http://www.slf4j.org/codes.html#multiple_bi..

SecureLogFormatter 초기화 실패 – NoSuchFieldError: repository

애플리케이션을 JBoss(WildFly) 서버에 배포하는 과정에서 다음과 같은 에러가 발생했습니다.에러 로그2023-03-17 14:22:51,617 ERROR [org.jboss.msc.service.fail] (MSC service thread 1-3) MSC000001: Failed to start service jboss.deployment.unit."MyService.war".POST_MODULE: org.jboss.msc.service.StartException in service jboss.deployment.unit."MyService.war".POST_MODULE: WFLYSRV0153: Failed to process phase POST_MODULE of deployment "MySer..

[장애 사례] SLF4J: Class path contains multiple SLF4J bindings 오류

[장애 사례] SLF4J: Class path contains multiple SLF4J bindings 오류애플리케이션을 WAS에 배포한 후 다음과 같은 SLF4J 관련 로그가 출력된다면?✅ 에러 메시지 요약SLF4J: Class path contains multiple SLF4J bindings.SLF4J: Found binding in [logback-classic-1.1.2.jar]SLF4J: Found binding in [slf4j-log4j12-1.6.2.jar]SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings✅ 원인SLF4J는 로깅 인터페이스(facade)이며, 실제 로그 출력은 별도의 구현체가 담당합니다slf4j-api는 하나지만..

반응형