一. 导入application.properties自定义配置信息 两种方式: 二. 导入xml中的bean对象 转载于:https://juejin.im/post/5bece4f8e51d4556461dad18