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

Garry Heaton

05/03/2022, 12:44 AM
If I add -port-8080 in Run > Edit Configurations > Program arguments I get another error: “system properties: No configuration setting found for key ‘ktor’” . WTF!?
m

Muhammad Talha

05/03/2022, 5:16 AM
Are you using ApplicationKt for the main class and not Application.kt? E.g.
com.site.ApplicationKt
Also if you click the play button in the line number gutter section in the main function in Application.kt, I think it should create the correct config for you.
7 Views