intermediateDI & IoC Internals136 of 469
How do you exclude auto-configuration for a specific class?
Tests whether you know to use @SpringBootApplication(exclude = ...) or the spring.autoconfigure.exclude property to suppress a specific auto-configuration class, rather than removing the dependency or disabling auto-config entirely.
Ready to master this question?
Generate a complete walkthrough — background, the full answer in plain language, a working code example explained line by line, a real-world scenario, common mistakes, and how this same question gets asked in different ways.
Sign in to generate a response