码迷,mamicode.com
首页 > 编程语言 > 详细

SpringBoot使用thymeleaf模板引擎引起的模板视图解析错误

时间:2019-09-20 19:33:30      阅读:269      评论:0      收藏:0      [点我收藏+]

标签:tail   https   引擎   his   color   intern   server   cte   map   

1 Whitelabel Error Page
2 This application has no explicit mapping for /error, so you are seeing this as a fallback.
3 
4 Thu Sep 19 16:54:45 CST 2019
5 There was an unexpected error (type=Internal Server Error, status=500).
6 An error happened during template parsing (template: "class path resource [templates/emp/list.html]")

template: “class path resource [templates/emp/list.html]”
模板解析过程中出错(模板:“类路径资源[templates/emp/list.html]”)

我一开始的想法就是错误的,这个问题和模板引擎本身毫无关系,回归原题,这个的错误是thymeleaf 引入公共代码片段出错了,导致连这个视图都不会解析出来

引入公共代码片段请参考这个链接:https://blog.csdn.net/qq_37638061/article/details/83276472

SpringBoot使用thymeleaf模板引擎引起的模板视图解析错误

标签:tail   https   引擎   his   color   intern   server   cte   map   

原文地址:https://www.cnblogs.com/phyqxx/p/11558639.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!