Closed mhdabbaghy closed 4 days ago
As a workaround you can build or use the package from this PR : https://github.com/InsertKoinIO/koin/pull/1978 Tested on my project after a rebase on 4.0.0 and it works without problems.
Duplicate of #1716
Duplicate of #1716
Indeed, please close this issue @mhdabbaghy.
Describe the bug In ktor when i want to inject a class inside my Route I'm getting exception:
Exception in thread "main" java.lang.NoClassDefFoundError: io/ktor/server/routing/RoutingKt at org.koin.ktor.ext.RouteExtKt.getKoin(RouteExt.kt:74)
Here is my code: ` fun Route.authRoutes() {
} `
but when I change code to
` fun Route.authRoutes() {
} ` It works fine
Koin version: 4.0.0 Ktor version: 3.0.0-rc-1 kotlin version: 2.0.20