Springboot项目启动后访问不到Controller

controller 方法中  

@Controller
改为
@RestController
原文地址:https://www.cnblogs.com/lixxx/p/11323571.html