I've got a strange error while starting ktor appli...
# ktor
p
I've got a strange error while starting ktor application
Copy code
java.lang.ClassNotFoundException: Module function cannot be found for the fully qualified name 'my.http.listener.HttpListener$listen$2$1$$Lambda$438/0x0000000800f6fc68.invoke'
Kotlin version: 1.5.31, Ktor version: 1.6.3. Making clean before build doesnt solve this problem.
Server is creating and starting and running withing suspend function.
Last working version of ktor is 1.5.4.
a
Please share a code snippet to reproduce your problem. Also, try to use the latest released version of Ktor 1.6.7.
p
I've updated version to 1.6.5 (last compatible with kotlin 1.5.31) and the problem was gone.