Hi, I'm new to Kotlin and Ktor and i'd like this b...
# server
f
Hi, I'm new to Kotlin and Ktor and i'd like this basic function to run but I can't find where the issue is:
Copy code
package com.example

import io.ktor.server.engine.embeddedServer
import io.ktor.server.netty.Netty
import io.ktor.routing.*

fun main() {
    embeddedServer(Netty, port = 8080){ }.start()
    routing {
        get("/") {
            call.respondText("Hello, world!", ContentType.Text.Html)
        }
    }
}
The issue i'm getting is, the routing package cannot be imported. Any assistance will be greatly appreciated.