Unable to start spring boot server

前端 未结 9 1889
既然无缘
既然无缘 2020-12-29 03:51

I am new to spring boot and when I try to start my server , I get the following Exception. I understand that this has something to do with dependency conflict, but still una

9条回答
  •  攒了一身酷
    2020-12-29 04:20

    the following configuration in my gradle.build file worked for me:

    configurations {
        all*.exclude group: "org.springframework.boot", module: "spring-boot-starter-logging"
        all*.exclude group: "ch.qos.logback"
        all*.exclude group: "org.slf4j", module: "log4j-over-slf4j" // allow using log4j 2.x
        all*.exclude group: "org.slf4j", module: "slf4j-simple"     // log4j is the configured backend
    }
    

提交回复
热议问题