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

cron - how to properly run Python script with crontab on every system startup -

elasticsearch - Is the order of operations guaranteed in a bulk update? -

Slow performance first queries on SQL Azure -