@@ -901,7 +901,7 @@ Depending on your logging system, the following files will be loaded:
901
901
|Logging System |Customization
902
902
903
903
|Logback
904
- |`logback.xml`
904
+ |`logback.xml` or `logback.groovy`
905
905
906
906
|Log4j
907
907
|`log4j.properties` or `log4j.xml`
@@ -936,7 +936,7 @@ To help with the customization some other properties are transferred from the Sp
936
936
All the logging systems supported can consult System properties when parsing their
937
937
configuration files. See the default configurations in `spring-boot.jar` for examples.
938
938
939
- WARNING: There are know classloading issues with Java Util Logging that cause problems
939
+ WARNING: There are known classloading issues with Java Util Logging that cause problems
940
940
when running from an '`executable jar`'. We recommend that you avoid it if at all
941
941
possible.
942
942
@@ -1004,7 +1004,7 @@ The auto-configuration adds the following features on top of Spring's defaults:
1004
1004
* Support for serving static resources, including support for WebJars (see below).
1005
1005
* Automatic registration of `Converter`, `GenericConverter`, `Formatter` beans.
1006
1006
* Support for `HttpMessageConverters` (see below).
1007
- * Automatic registration of `MessageCodeResolver ` (see below)
1007
+ * Automatic registration of `MessageCodesResolver ` (see below).
1008
1008
* Static `index.html` support.
1009
1009
* Custom `Favicon` support.
1010
1010
@@ -1358,7 +1358,7 @@ If the above customization techniques are too limited, you can register the
1358
1358
TomcatEmbeddedServletContainerFactory factory = new TomcatEmbeddedServletContainerFactory();
1359
1359
factory.setPort(9000);
1360
1360
factory.setSessionTimeout(10, TimeUnit.MINUTES);
1361
- factory.addErrorPages(new ErrorPage(HttpStatus.NOT_FOUND, "/notfound.html");
1361
+ factory.addErrorPages(new ErrorPage(HttpStatus.NOT_FOUND, "/notfound.html")) ;
1362
1362
return factory;
1363
1363
}
1364
1364
----
@@ -1516,9 +1516,9 @@ Production database connections can also be auto-configured using a pooling
1516
1516
1517
1517
* We prefer the Tomcat pooling `DataSource` for its performance and concurrency, so if
1518
1518
that is available we always choose it.
1519
- * If HikariCP is available we will use it
1519
+ * If HikariCP is available we will use it.
1520
1520
* If Commons DBCP is available we will use it, but we don't recommend it in production.
1521
- * Lastly, if Commons DBCP2 is available we will use it
1521
+ * Lastly, if Commons DBCP2 is available we will use it.
1522
1522
1523
1523
If you use the `spring-boot-starter-jdbc` or `spring-boot-starter-data-jpa`
1524
1524
'`starter POMs`' you will automatically get a dependency to `tomcat-jdbc`.
@@ -1607,7 +1607,7 @@ relational databases. The `spring-boot-starter-data-jpa` POM provides a quick wa
1607
1607
started. It provides the following key dependencies:
1608
1608
1609
1609
* Hibernate -- One of the most popular JPA implementations.
1610
- * Spring Data JPA -- Makes it easy to easily implement JPA-based repositories.
1610
+ * Spring Data JPA -- Makes it easy to implement JPA-based repositories.
1611
1611
* Spring ORMs -- Core ORM support from the Spring Framework.
1612
1612
1613
1613
TIP: We won't go into too many details of JPA or Spring Data here. You can follow the
@@ -1812,7 +1812,7 @@ pooled connection factory by default.
1812
1812
=== MongoDB
1813
1813
http://www.mongodb.com/[MongoDB] is an open-source NoSQL document database that uses a
1814
1814
JSON-like schema instead of traditional table-based relational data. Spring Boot offers
1815
- several conveniences for working with MongoDB, including the The
1815
+ several conveniences for working with MongoDB, including the
1816
1816
`spring-boot-starter-data-mongodb` '`Starter POM`'.
1817
1817
1818
1818
@@ -1826,7 +1826,7 @@ using the URL `mongodb://localhost/test`:
1826
1826
[source,java,indent=0]
1827
1827
----
1828
1828
import org.springframework.data.mongodb.MongoDbFactory;
1829
- import import com.mongodb.DB;
1829
+ import com.mongodb.DB;
1830
1830
1831
1831
@Component
1832
1832
public class MyBean {
@@ -1864,7 +1864,7 @@ could simply delete this line from the sample above.
1864
1864
TIP: If you aren't using Spring Data Mongo you can inject `com.mongodb.Mongo` beans
1865
1865
instead of using `MongoDbFactory`.
1866
1866
1867
- You can also declare your own `MongoDbFactory` or `Mongo` `@Beans` if you want to take
1867
+ You can also declare your own `MongoDbFactory` or `Mongo` bean if you want to take
1868
1868
complete control of establishing the MongoDB connection.
1869
1869
1870
1870
@@ -2084,7 +2084,7 @@ available on the classpath. If the broker is present, an embedded broker is star
2084
2084
configured automatically (unless the mode property has been explicitly set). The supported
2085
2085
modes are: `embedded` (to make explicit that an embedded broker is required and should
2086
2086
lead to an error if the broker is not available in the classpath), and `native` to
2087
- connect to a broker using the the `netty` transport protocol. When the latter is
2087
+ connect to a broker using the `netty` transport protocol. When the latter is
2088
2088
configured, Spring Boot configures a `ConnectionFactory` connecting to a broker running
2089
2089
on the local machine with the default settings.
2090
2090
0 commit comments