Open karl-run opened 5 years ago
Checking "Apache" in the wizard creates a runnable application. Which makes sense to me now that I understand the signature of io.ktor.client.HttpClient
. But, it could probably be made more obvious in the wizard, same way that that the base-HttpClient is automatically selected when you select any of the features.
Feel free to close this as "user error".
For sure this is usability problem that need to be resolved somehow
As erroneously opened in ktorio/ktor:867
Ktor Version
1.1.1
Ktor Engine Used(client or server and name)
io.ktor.server.netty.EngineMain
JVM Version, Operating System and Relevant Context
OS:
Linux 4.14.90-1-MANJARO
Feedback
I have created a completely fresh project using the IntelliJ Ktor-plugin's starter, only choosing "Logging feature" as additional features.
Starting the server without doing any changes gives me the following stack trace:
Removing this section in
Application.kt
:Allows me to start the server successfully.