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

Popular posts from this blog

java - Jasper subreport showing only one entry from the JSON data source when embedded in the Title band -

mapreduce - Resource manager does not transit to active state from standby -

serialization - Convert Any type in scala to Array[Byte] and back -