摘要: 场景: 两个配置文件:db.properties,application.properties 在数据库配置里面引用db.properties 这时候,application.properties里面的属性就不会被加载进去了,如果你使用@Value,就会报Could not resolve plac 阅读全文
posted @ 2018-08-22 23:54 tiramisuyj 阅读(44536) 评论(0) 推荐(1)
摘要: thymeleaf动态模板: pom文件引入: 若直接引入: 那么如果spring-boot的版本是2.0以下的会有问题 阅读全文
posted @ 2018-08-22 23:33 tiramisuyj 阅读(4867) 评论(0) 推荐(0)