spring-guides / tut-spring-boot-kotlin

Building web applications with Spring Boot and Kotlin :: Learn how to easily build and test web applications with Spring, Kotlin, Junit 5 and JPA

Home Page:https://spring.io/guides/tutorials/spring-boot-kotlin/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Wrong package in tutorial code

McPringle opened this issue · comments

Chapter: Writing your first Kotlin controller
Code of class: src/main/kotlin/blog/HtmlController.kt

In the example code of the HtmlController class in the tutorial the package blog.web was used. All other files/classes use the package blog. In the GitHub repository, the package blog was used in the HtmlController class, too, which seems to be correct.

Suggestion: Remove web from the package statement in the example code for the HtmlController in the tutorial.