We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The KTOR feature is broken because it doesn't add a KTOR server. As a minimum the following should be added:
implementation "io.ktor:ktor-server-netty:1.3.2"
The text was updated successfully, but these errors were encountered:
Also the KTOR application class has to look like:
/~https://github.com/micronaut-projects/micronaut-kotlin/blob/master/examples/greeting/src/main/kotlin/app/Application.kt
Sorry, something went wrong.
9828af3
I've set a slightly modified version of Application.kt. So that the app can be start it with ./gradlew run.
Application.kt
./gradlew run
package com.example import io.ktor.server.netty.NettyApplicationEngine import io.micronaut.ktor.KtorApplication import io.micronaut.ktor.runApplication import javax.inject.Singleton @Singleton class KtorApp : KtorApplication<NettyApplicationEngine.Configuration>({ }) object Application { @JvmStatic fun main(args: Array<String>) { runApplication(args) } }
sdelamo
No branches or pull requests
The KTOR feature is broken because it doesn't add a KTOR server. As a minimum the following should be added:
The text was updated successfully, but these errors were encountered: