Browse Source

Merge branch '2.0.x'

pull/12946/head
Stephane Nicoll 8 years ago
parent
commit
49f64aab48
  1. 9
      spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc

9
spring-boot-project/spring-boot-docs/src/main/asciidoc/howto.adoc

@ -276,15 +276,12 @@ configuration by setting properties in `+spring.main.*+`. For example, in
[source,properties,indent=0,subs="verbatim,quotes,attributes"] [source,properties,indent=0,subs="verbatim,quotes,attributes"]
---- ----
spring.main.web-environment=false spring.main.web-application-type=none
spring.main.banner-mode=off spring.main.banner-mode=off
---- ----
Then the Spring Boot banner is not printed on startup, and the application is Then the Spring Boot banner is not printed on startup, and the application is not starting
not a web application. an embedded web server.
NOTE: The preceding example also demonstrates how flexible binding allows the use of
underscores (`_`) as well as dashes (`-`) in property names.
Properties defined in external configuration override the values specified with the Java Properties defined in external configuration override the values specified with the Java
API, with the notable exception of the sources used to create the `ApplicationContext`. API, with the notable exception of the sources used to create the `ApplicationContext`.

Loading…
Cancel
Save