Spring Boot MVC

build.gradle

HomeController.java

 

How to start with Spring Boot

https://start.spring.io/

put into main class

  CommandLineRunner ApplicationRunner @Order