关闭指定自动配置 @SpringBootApplication(exclude = DataSourceAutoConfiguration.class) DataSourceAutoConfiguration配置类的相关Bean就不会被自动导入Spring