![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
springboot
VivToum
这个作者很懒,什么都没留下…
展开
-
【SpringBoot】yml 配置简析
简述spring框架原来的配置文件application.properties在写的时候要写完整,如:spring.profiles.active=devspring.datasource.data-username=rootspring.datasource.data-password=root springboot原意是简化spring开发时候的配置填写,所以ym...原创 2019-01-03 16:57:20 · 645 阅读 · 0 评论 -
【踩坑笔记】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 评论