
首次使用Thymeleaf模板,在启动的时候报如下错误:
The following method did not exist: org.thymeleaf.spring5.SpringTemplateEngine.setRenderHiddenMarkersBeforeCheckboxes(Z)V
出现这一错误的原因是SpringBoot的版本和Thymeleaf模板版本不兼容,在
3.0.9.RELEASE 2.2.2
添加后即可正常启动SpringBoot.
欢迎分享,转载请注明来源:内存溢出
微信扫一扫
支付宝扫一扫
评论列表(0条)