报错 An error happened during template parsing (template: “ServletContext resource [/shiroTest.html]“)
简介:
报错 An error happened during template parsing (template: “ServletContext resource [/shiroTest.html]“)
使用thymeleaf视图解析器 这是因为模板解析器出现了错误
刚上手thymeleaf不会用
解决办法:
在方法上面加上@ResponseBody