InterviewSolution
Saved Bookmarks
| 1. |
How to disable specific auto-configuration class? |
|
Answer» @EnableAutoConfiguration(exclude = {InterviewBitAutoConfiguration.class}) If the class is not specified on the classpath, we can specify the fully qualified NAME as the VALUE for the excludeName. //By using "excludeName"@EnableAutoConfiguration(excludeName={Foo.class})
|
|