Tóth István Zoltán
07/04/2024, 4:15 PMjvmMain {
dependencies {
implementation(libs.adaptive.lib.exposed)
implementation(libs.ktor.server.core)
implementation(libs.ktor.server.netty)
implementation(libs.ktor.server.websockets)
}
}
Exception in thread "DefaultDispatcher-worker-2" java.lang.NoClassDefFoundError: io/ktor/server/netty/Netty
at hu.simplexion.adaptive.ktor.worker.KtorWorker.run(KtorWorker.kt:30)
at hu.simplexion.adaptive.server.builtin.ServerWorker$mount$2$1.invokeSuspend(ServerWorker.kt:41)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)
Suppressed: kotlinx.coroutines.internal.DiagnosticCoroutineContextException: [StandaloneCoroutine{Cancelling}@4d26b1b, Dispatchers.Default]
Caused by: java.lang.ClassNotFoundException: io.ktor.server.netty.Netty
at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:641)
at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:188)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:526)
... 8 more
CLOVIS
07/04/2024, 4:35 PMdependencyInsights
task or through a build scanTóth István Zoltán
07/04/2024, 5:18 PM