Springboot menonaktifkan konfigurasi otomatis tertentu

// other annotations
@EnableAutoConfiguration(exclude = DataSourceAutoConfiguration.class)
public class MyConfiguration { }
Cookies4Techies