logback-access-spring-boot-starter icon indicating copy to clipboard operation
logback-access-spring-boot-starter copied to clipboard

java.lang.NoSuchMethodError: 'java.util.SortedMap kotlin.collections.MapsKt.sortedMapOf(java.util.Comparator, kotlin.Pair[])'

Open gjain-sag opened this issue 3 years ago • 3 comments

Describe the bug

To Reproduce

Expected behavior

Environment

  • Version of this library used:3.2.2
  • Version of Java used:1.8

gjain-sag avatar Mar 09 '22 12:03 gjain-sag

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.

akkinoc avatar Mar 17 '22 05:03 akkinoc

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

gjain-sag avatar Mar 17 '22 05:03 gjain-sag

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.

akkinoc avatar Mar 17 '22 06:03 akkinoc

This issue is inactive, so I close it. If you still have problems, please open a new issue.

akkinoc avatar May 03 '23 11:05 akkinoc