Document that applicaiton.yml requires snakeyaml

Update documentation to reference the need for a yaml library to be on
the classpath.

Fixes gh-313
This commit is contained in:
Ben 2014-02-04 23:02:04 -06:00 committed by Phillip Webb
parent 75af7a44d0
commit c251e33bf8
1 changed files with 3 additions and 2 deletions

View File

@ -160,8 +160,9 @@ on a class and run it.
Spring Boot likes you to externalize your configuration so you
can work with the same application code in different environments. To
get started with this you create a file in the root of your classpath
(`src/main/resources` if using Maven) - if you like YAML you can call
it `application.yml`, e.g.:
(`src/main/resources` if using Maven) - if you like YAML, you can include
`org.yaml:snakeyaml` on your runtime class path, and call the file `application.yml`,
e.g.:
server:
port: 9000