org.apache.logging.log4j.LoggingException: log4j-slf4j-impl cannot be present with log4j-to-slf4j
spring starter에 기본으로 포함되어있던 slf4j
와 아파치 스파크 결과를 출력할 log4j
가 양립할 수 없는 문제
implementation 'org.springframework.boot:spring-boot-starter-log4j2'
configurations {
compileOnly {
extendsFrom annotationProcessor
}
all {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
}