解决 template might not exist or might not be accessible by any of the configured Template Resolvers

template might not exist or might not be accessible by any of the configured Template Resolvers

报错解决方案

org.thymeleaf.exceptions.TemplateInputException: Error resolving template "setRecommendGoods/getGoodsTypeList", template might not exist or might not be accessible by any of the configured Template Resolvers

thymeleaf报错,原因1.HTML5 不严谨,但是配置里面限制严谨

2.使用了thymeleaf设置规则,调用方法之后要将页面作为返回值返回去

解决 template might not exist or might not be accessible by any of the configured Template Resolvers_第1张图片

大概就是这样,只是暂时解决,没有深究

你可能感兴趣的:(Thymeleaf)