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

PHondogo

12/15/2021, 2:25 PM
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

Aleksei Tirman [JB]

12/16/2021, 8:02 AM
Please share a code snippet to reproduce your problem. Also, try to use the latest released version of Ktor 1.6.7.
p

PHondogo

12/16/2021, 8:33 AM
I've updated version to 1.6.5 (last compatible with kotlin 1.5.31) and the problem was gone.
8 Views