打开控制台
2019-05-07 00:35:13.125 ERROR 11860 --- [nio-8080-exec-1] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is org.thymeleaf.exceptions.TemplateInputException: An error happened during template parsing (template: "class path resource [templates/emp/list.html]")] with root cause
知道解析错误了
页面信息:
200状态正常
看到是mapping错误
所以检查代码编写
果然 属性写错了
改正即可
ps:如果中间属性写错了,前面依然可以显示,找到位置改正即可
ctrl+F9刷新