Spring Boot : Disable AutoConfiguration of all modules -
in spring boot, there way prevent auto configuration of modules? looking @disableautoconfiguration
instead of excluding specific configurations class names.
auto-configuration enabled @enableautoconfiguration
annotation. if don't want use auto-configuration, omit annotation. note @springbootapplication
annotated @enableautoconfiguration
you'll have avoid using too. typically, leave main application class annotated @componentscan
, @configuration
.
Comments
Post a Comment