diff --git a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc index 633f918f4ec..c3461e6de78 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -1296,7 +1296,7 @@ the URL `mongodb://localhost/test`: } ---- -You can set `spring.data.mongodb.url` property to change the `url`, or alternatively +You can set `spring.data.mongodb.uri` property to change the `url`, or alternatively specify a `host`/`port`. For example, you might declare the following in your `application.properties`: