摘要: springboot的属性注入 以注入dataSource为例1.springboot默认读取的文件是放在resources目录下的名为application.properties或application.yml的文件在application.properties中写入以下属性jdbc.driver 阅读全文