diff --git a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc index ed7cb67625..72e2332cd8 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -453,7 +453,7 @@ you can use the exclude attribute of `@EnableAutoConfiguration` to disable them. import org.springframework.context.annotation.*; @Configuration - @EnableAutoConfiguration(exclude={EmbeddedDatabaseConfiguration.class}) + @EnableAutoConfiguration(exclude={EmbeddedDataSourceConfiguration.class}) public class MyConfiguration { } ----