LoggerFactory ist kein Logback-LoggerContext, aber Logback befindet sich im KlassenpfadJava

Java-Forum
Anonymous
 LoggerFactory ist kein Logback-LoggerContext, aber Logback befindet sich im Klassenpfad

Post by Anonymous »

Ich glaube, dass ein Modul in Spring-Boot-Starter-Security mit log4j in Konflikt steht, aber ich weiß nicht, welches.

meine Gradle-Abhängigkeit ist wie folgt:

Code: Select all

compile("org.springframework.boot:spring-boot-starter-thymeleaf")
compile("org.springframework.boot:spring-boot-starter-security"){
exclude module: "spring-boot-starter-logging"
}

compile "org.apache.logging.log4j:log4j-api"
compile "org.apache.logging.log4j:log4j-core"
compile "org.apache.logging.log4j:log4j-slf4j-impl"
compile('org.apache.poi:poi:3.10.1')
compile('org.apache.poi:poi-ooxml:3.10.1')
testCompile("junit:junit")

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post