diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 954a900210..e0b98a0fe6 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -1065,7 +1065,7 @@ JDBC or JPA (then that one will be picked up by any `@Autowired` injections). [[howto-use-spring-data-repositories]] === Use Spring Data repositories Spring Data can create implementations for you of `@Repository` interfaces of various -flavours. Spring Boot will handle all of that for you as long as those `@Repositories` +flavors. Spring Boot will handle all of that for you as long as those `@Repositories` are included in the same package (or a sub-package) of your `@EnableAutoConfiguration` class. 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 8c700c8eb6..afbb23b63d 100644 --- a/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc +++ b/spring-boot-docs/src/main/asciidoc/using-spring-boot.adoc @@ -50,6 +50,7 @@ use `@..@` placeholders (you can override that with a Maven property `resource.delimiter`). + [[using-boot-maven-parent-pom]] ==== Inheriting the starter parent To configure your project to inherit from the `spring-boot-starter-parent` simply set @@ -547,6 +548,8 @@ required `RiskAssessor` bean. TIP: Notice how using constructor injection allows the `riskAssessor` field to be marked as `final`, indicating that it cannot be subsequently changed. + + [[using-boot-running-your-application]] == Running your application One of the biggest advantages of packaging your application as jar and using an embedded