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

Tim Malseed

04/29/2021, 11:11 AM
I’m encountering the following error.
Exception in thread “main” io.ktor.application.DuplicateApplicationFeatureException: Conflicting application feature is already installed with the same key as
Call Logging
Copy code
embeddedServer(
    factory = Netty,
    port = 8080,
    host = "0.0.0.0",
    watchPaths = listOf("classes"),
    module = {
        install(CallLogging)
        install(CachingHeaders)
        artworkRouting()
    }
I can’t figure out why this has suddenly started occurring.. Any ideas?
🆘 1
stacktrace
It’s almost as if multiple instances of the application are being run
Well, I have no idea what's going on. I checked out an older version of the code that was working yesterday, and now it throws this same exception