Closed theamith closed 1 year ago
Sorry, I'm not fluent in Gradle. Would you please provide a minimal sample project and steps to reproduce this issue?
Even i am facing the same issue while trying to add this dependency with Spring boot and undertow embedded server. Any suggestions would be appreciated.
Can you tell me the version of your Spring Boot (or Kotlin)?
logback-access-spring-boot-starter v3.1/v3.2 requires Spring Boot v2.6 (Kotlin v1.6). Please upgrade to Spring Boot v2.6 (Kotlin v1.6).
Note: java.util.SortedMap kotlin.collections.MapsKt.sortedMapOf(java.util.Comparator, kotlin.Pair[])
is a method introduced in Kotlin v1.4.
Spring boot version : 2.2.7.RELEASE I can't upgrade my spring boot as there are other dependencies, do we have an supported version for logback-starter against against spring boot 2.2.7RELEASE
It may work with logback-access-spring-boot-starter v2.11.0. https://github.com/akkinoc/logback-access-spring-boot-starter/tree/v2.11.0
However, please note that I have no plans to update other than the latest version.
This issue is inactive, so I close it. If you still have problems, please open a new issue.
I am trying to use logback-access-spring-boot-starter in an existing Java-tomcat-spring-mvc based spring boot application. Since this library used kotlin, I have added kotlin dependencies and the compilation succeeded. Although getting below error after successfully started the tomcat application
Common build.gradle file in which the kotlin and logback dependencies added
Application's build.gradle