diff --git a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java index 5e20a304b18..40e11f53e58 100644 --- a/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java +++ b/spring-boot-autoconfigure/src/main/java/org/springframework/boot/autoconfigure/mongo/MongoProperties.java @@ -200,7 +200,7 @@ public class MongoProperties { /** * Creates a {@link MongoClient} using the given {@code options} and * {@code environment}. If the configured port is zero, the value of the - * {@code local.server.port} property retrieved from the {@code environment} is used + * {@code local.mongo.port} property retrieved from the {@code environment} is used * to configure the client. * * @param options the options 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 4bed79bf4e3..ee7575ecdd1 100644 --- a/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc +++ b/spring-boot-docs/src/main/asciidoc/spring-boot-features.adoc @@ -2292,7 +2292,7 @@ path using the `spring.h2.console.path` property. [[boot-features-sql-h2-console-securing]] ==== Securing the H2 console -When Spring Security is one the and basic auth is enabled, the H2 console will be +When Spring Security is on the classpath and basic auth is enabled, the H2 console will be automatically secured using basic auth. The following properties can be used to customize the security configuration: 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 ce29c7a8f92..95d5db8dce3 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -775,7 +775,7 @@ entropy for session keys.) === Using the Gradle plugin The Spring Boot Gradle plugin also includes a `bootRun` task which can be used to run your application in an exploded form. The `bootRun` task is added whenever you import -the `spring-boot-plugin` +the `spring-boot-gradle-plugin`: [indent=0,subs="attributes"] ----