Open Frieza93 opened 2 years ago
I'm running into the same issue. I think this is due to a breaking change in Ktor 2, see https://ktor.io/docs/eap/migrating-2.html#feature-plugin. https://github.com/tyntec/ktor-problem
is built against Ktor 1.5.
Created a PR for this to work with ktor 2.2.2: https://github.com/tyntec/ktor-problem/pull/3
Disclaimer: I am somethat new to Kotlin and Ktor, so I am not entirely sure this is actually a bug. Maybe I am making a mistake myself. However I have been trying to precisely follow the Readme and I am running into a problem when trying to install
RFC7807Problems
.This is my
Application.kt
:At
install(RFC7807Problems) {}
I get:I'm working on Kotlin version
1.7.10
and Ktor version2.0.3
. Any chance there is a conflict resulting from the recent versions of Ktor and Kotlin?