Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

springBoot Disable a Specific Auto-Configuration

// other annotations
@EnableAutoConfiguration(exclude = DataSourceAutoConfiguration.class)
public class MyConfiguration { }
Source by www.baeldung.com #
 
PREVIOUS NEXT
Tagged: #springBoot #Disable #Specific
ADD COMMENT
Topic
Name
3+2 =