Spring to Spring boot migration. Embedded Spring Data source
问题 Currently, it has been used Spring Boot application with the custom Data source configuration like this one Before @SpringBootApplication(exclude={DataSourceAutoConfiguration.class, MongoAutoConfiguration.class}) public class SpringBootAppInitializer { public static void main(String[] args) { System.setProperty("java.awt.headless", "false"); SpringApplication.run(SpringBootAppInitializer.class); } } @Bean public BasicDataSource getDataSource() { BasicDataSource basicDataSource = new