摘要: 1.需要用@xxx@来代替${xxx}2.项目中如properties配置了自定义的key值my.key=hello,可以用maven打包命令 -Dmy.key=hi 来强行覆盖 3.转:Spring Boot使用Maven打包替换资源文件占位符 在Spring Boot开发中,通过Maven构建项 阅读全文
posted @ 2020-03-04 11:18 宇枫 阅读(218) 评论(0) 推荐(0) 编辑