In my Spring boot 2 project:
In build.gradle
:
dependencies {
implementation \'com.google.code.gson:gson:2.7\'
imple
According with Spring's documentation (as pointed by Simon), we wave to exclude the "spring-boot-starter-logging" module from all libraries, not only from "spring-boot-starter-web".
configurations {
...
all {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
}
...instead of...
dependencies {
...
implementation('org.springframework.boot:spring-boot-starter') {
exclude group: 'org.springframework.boot', module: 'spring-boot-starter-logging'
}
}
Just had myself the same problem and solved with this solution.