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

Łukasz Bednarczyk

08/20/2021, 7:13 PM
I have a problem with Koin - I get the DuplicateApplicationFeatureException. I have 3 modules with installed Koin plugin/feature.
a

Alejandro Rios

08/20/2021, 7:14 PM
#koin
ł

Łukasz Bednarczyk

08/20/2021, 7:15 PM
Rly? IMO this is the bug in Ktor
r

Rustam Siniukov

08/22/2021, 10:00 PM
In old versions of ktor this exception was mistakenly thrown when there is an exceptions in app initialization. In the newest version you will receive the actual exception. Check your configs and plugins installs. Or put a breakpoint https://github.com/ktorio/ktor/blob/b3ca535610f232d506aa2d104cd20fa1c27ba665/ktor-[…]/io/ktor/server/engine/ApplicationEngineEnvironmentReloading.kt to see the real exception