摘要: 1. @PropertySource SpringBoot读取配置信息的方式有以下几种。但实际开发中一个配置文件是不够用的,比如项目中集成mongo redis kafka等需要多个配置文件,这样有利于开发以及维护管理。Springboot通过PropertySource或者PropertySour 阅读全文
posted @ 2022-12-17 15:33 colorfulworld 阅读(874) 评论(0) 推荐(0) 编辑
摘要: 1. 简述 Springboot启动是通过Application启动类实现 @SpringBootApplication( exclude = {MongoAutoConfiguration.class, MongoDataAutoConfiguration.class}, scanBasePack 阅读全文
posted @ 2022-12-17 11:44 colorfulworld 阅读(4385) 评论(0) 推荐(0) 编辑