https://kotlinlang.org logo
#ktor
Title
# ktor
s

Sampo Toiva

02/22/2024, 12:36 PM
I'm running ktor server version 2.3.8, with logback-classic version 1.5.0, configuration files are present and I'm still getting:
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
Any idea what might be the cause or how to debug further?
Happens also with logback version 1.4.14.
Ok, it seems that this is a version compatibility issue. It seems that ktor version 2.3.8 is dependent on slf4j-api version 1.7.36, but the most recent logback versions are expecting slf4j-api version 2.x.x.
3 Views