{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6878","repository_url":"https://api.github.com/repos/spring-projects/spring-boot","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6878/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6878/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6878/events","html_url":"https://github.com/spring-projects/spring-boot/issues/6878","id":176693276,"number":6878,"title":"Problem using YAML instead of Properties with spring-boot-starter-parent 1.4.0.RELEASE","user":{"login":"Panciz","id":2254988,"avatar_url":"https://avatars.githubusercontent.com/u/2254988?v=3","gravatar_id":"","url":"https://api.github.com/users/Panciz","html_url":"https://github.com/Panciz","followers_url":"https://api.github.com/users/Panciz/followers","following_url":"https://api.github.com/users/Panciz/following{/other_user}","gists_url":"https://api.github.com/users/Panciz/gists{/gist_id}","starred_url":"https://api.github.com/users/Panciz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Panciz/subscriptions","organizations_url":"https://api.github.com/users/Panciz/orgs","repos_url":"https://api.github.com/users/Panciz/repos","events_url":"https://api.github.com/users/Panciz/events{/privacy}","received_events_url":"https://api.github.com/users/Panciz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/waiting-for-triage","name":"waiting-for-triage","color":"ededed"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-13T16:50:28Z","updated_at":"2016-09-13T16:52:48Z","closed_at":null,"body":"Form the [reference guide](https://docs.spring.io/spring-boot/docs/current/reference/html/boot-features-external-config.html#boot-features-external-config-yaml)\r\n\r\n```\r\n The SpringApplication class will automatically support YAML as an alternative to properties whenever you have the SnakeYAML library on your classpath.\r\n\r\n[Note]\r\nIf you use ‘Starters’ SnakeYAML will be automatically provided via spring-boot-starter.\r\n```\r\n\r\nanyway if I use in my pom.xml\r\n\r\n```\r\n<parent>\r\n\t\t<groupId>org.springframework.boot</groupId>\r\n\t\t<artifactId>spring-boot-starter-parent</artifactId>\r\n\t\t<version>1.4.0.RELEASE</version>\r\n\t</parent> \r\n```\r\n\r\nThe application keeps looking for `application.properties` and ignoring the `.yml` file. \r\nI need to downgrade to `1.4.0.RELEASE` or adding the dependency `snakeyaml 1.16`\r\n\r\n```\r\n\t<dependency>\r\n                <groupId>org.yaml</groupId>\r\n               <artifactId>snakeyaml</artifactId>\r\n              <version>1.16</version>\r\n        </dependency>\r\n```\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/246747875","html_url":"https://github.com/spring-projects/spring-boot/issues/6878#issuecomment-246747875","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/6878","id":246747875,"user":{"login":"Panciz","id":2254988,"avatar_url":"https://avatars.githubusercontent.com/u/2254988?v=3","gravatar_id":"","url":"https://api.github.com/users/Panciz","html_url":"https://github.com/Panciz","followers_url":"https://api.github.com/users/Panciz/followers","following_url":"https://api.github.com/users/Panciz/following{/other_user}","gists_url":"https://api.github.com/users/Panciz/gists{/gist_id}","starred_url":"https://api.github.com/users/Panciz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Panciz/subscriptions","organizations_url":"https://api.github.com/users/Panciz/orgs","repos_url":"https://api.github.com/users/Panciz/repos","events_url":"https://api.github.com/users/Panciz/events{/privacy}","received_events_url":"https://api.github.com/users/Panciz/received_events","type":"User","site_admin":false},"created_at":"2016-09-13T16:52:48Z","updated_at":"2016-09-13T16:52:48Z","body":"It's easy to replicate just start from this boilerplate https://github.com/hoserdude/spring-boot-sample-yaml-config change the pom.xml to use 1.4.0.RELEASE"}}
{"actor":{"display_login":"Panciz"}}