An error happened during template parsing (template: “class path resource [templates/forum/home.html]”) 网上找了很多办法都无用,这里解决办法是去检查前端html的代码。 查看html是不是有些属性后端没传过来。