java.lang.IllegalStateException: Logback configuration error detected:

created at 10-08-2021 views: 348

solution

Load order adjustment in pom.xml
Put these at the top of the pom

 <!-- springmvc -->
        <dependency>
            <groupId>org.springframework.boot</groupId>
            <artifactId>spring-boot-starter-web</artifactId>
            <exclusions><!-- Remove the springboot default configuration-->
                <exclusion>
                    <groupId>org.springframework.boot</groupId>
                    <artifactId>spring-boot-starter-logging</artifactId>
                </exclusion>
            </exclusions>
        </dependency>

as follows:

example

created at:10-08-2021
edited at: 10-08-2021: