- 博客(1)
- 收藏
- 关注
原创 Spring boot导入自定义properties配置文件。
导入自定义properties文件。 self.define.username=test1 self.define.password=root self.define.nickname=小飞 springboot好像不需要xml了,所以只能用注解引入了。写一个引入的java类。 使用注解@PropertySource("classpath:define.properties") 引入自己的p...
2018-08-10 14:04:11 3462
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人