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

Antoni Zwolski

03/05/2024, 1:52 PM
When I add
Copy code
//    //openApi
    implementation("io.ktor:ktor-server-openapi:$ktor_version")
My project starts logging this error
Copy code
Error: Could not find or load main class com.example.ApplicationKt
Caused by: java.lang.ClassNotFoundException: com.example.ApplicationKt
I can't run it. Without this dependency, everything works.
a

Aleksei Tirman [JB]

03/05/2024, 2:49 PM
That's weird. Can you share your project?
2 Views