Github的Spark with Kotlin教程不起作用

Github的Spark with Kotlin教程不起作用,kotlin,Kotlin,我在最新的jetbrains社区ide中安装了教程项目,并启动了代码。我开始了这个项目,去了,我看到404没有在chrome浏览器中找到。在控制台中,我看到用户集合的std输出和如下消息: [qtp955940837-21]INFO spark.http.matching.MatcherFilter- 请求的路由[/]尚未在Spark中映射为Accept: [text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,imag

我在最新的jetbrains社区ide中安装了教程项目,并启动了代码。我开始了这个项目,去了,我看到404没有在chrome浏览器中找到。在控制台中,我看到用户集合的std输出和如下消息:

[qtp955940837-21]INFO spark.http.matching.MatcherFilter- 请求的路由[/]尚未在Spark中映射为Accept: [text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,/;q=0.8]

我是新的火花,我不知道如何修复它。我现在正在运行Java10

谢谢您的帮助:-

您不应该浏览。你应该浏览一下

根据源代码:

path("/users") {

    get("") { req, res ->
        jacksonObjectMapper().writeValueAsString(userDao.users)
    }

    get("/:id") { req, res ->
        userDao.findById(req.params("id").toInt())
    }

// .... blabla

请不要接受我的回答,告诉我你的答案在我的答案中缺少什么。