Commit c251e33b authored by Ben's avatar Ben Committed by Phillip Webb

Document that applicaiton.yml requires snakeyaml

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

Fixes gh-313
parent 75af7a44
...@@ -160,8 +160,9 @@ on a class and run it. ...@@ -160,8 +160,9 @@ on a class and run it.
Spring Boot likes you to externalize your configuration so you Spring Boot likes you to externalize your configuration so you
can work with the same application code in different environments. To 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 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 (`src/main/resources` if using Maven) - if you like YAML, you can include
it `application.yml`, e.g.: `org.yaml:snakeyaml` on your runtime class path, and call the file `application.yml`,
e.g.:
server: server:
port: 9000 port: 9000
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment