选择是用 spring mvc
这里使用 @RestController @RestController注解相当于@ResponseBody + @Controller合在一起的作用。
启动项目 访问 http://localhost:8080/hello.
简单的启动spring boot项目