An error happened during template parsing (template: "class path resource [templates/index.html]")

并不是配置的问题,是我写错了,还是对thymeleaf不够熟悉,错误的原因是在取session中的数据时写错了  

 

[[${session.loginuser.username}]] session忘记写了  和model搞混了,就这个BUG还耽误了半个小时,也是无语

posted @ 2022-09-10 03:51  咖喱给给啊  阅读(492)  评论(0)    收藏  举报