请问应该怎么解决页面引擎用的是Thymeleaf
得看你 templates 下有没有 index.html
localhost:8080/+项目页面路径。或者controller中添加一个@RequestMapping(“/”),方法是返回你的index.html页面
你的controller 代码发一下呀