thymeleaf
VivToum
这个作者很懒,什么都没留下…
展开
-
【踩坑笔记】springcloud+springboot+thymeleaf部署后访问,提示找不到header模板
具体原因:有待考究,先记录在案。 原来代码: <script th:replace="/fragments/header::header"></script> 修改代码:去掉第一个/ <script th:replace="fragments/header::header"></script> ...原创 2019-05-14 10:08:29 · 769 阅读 · 0 评论 -
【踩坑笔记】springcloud+springboot+thymeleaf,访问静态文件报没有mapping
具体原因:有待考究,先记录在案。 解决方法: 不清楚为什么application.yml的spring.resources.static-locations属性如下设置不生效,有知道的大佬还望指导指导 spring: resources: static-locations: classpath:/META-INF/resources/,classpath:/resources/,cl...原创 2019-05-14 10:15:28 · 735 阅读 · 0 评论