menu
techminis

A naukri.com initiative

google-web-stories
Home

>

Devops News

>

Excluding ...
source image

Medium

2w

read

82

img
dot

Image Credit: Medium

Excluding Auto-Configuration Classes in Spring Boot

  • In this guide, we'll explore three strategies to disable unwanted auto-configurations in Spring Boot.
  • The first strategy is to use the exclude attribute in @SpringBootApplication or @EnableAutoConfiguration to disable specific classes.
  • The second strategy is to use excludeName when the auto-configuration class isn't on the classpath.
  • The third strategy is to disable auto-configurations via application.properties or application.yml.

Read Full Article

like

4 Likes

For uninterrupted reading, download the app