{"action":"created","issue":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4215","labels_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4215/labels{/name}","comments_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4215/comments","events_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4215/events","html_url":"https://github.com/spring-projects/spring-boot/issues/4215","id":111803922,"number":4215,"title":"Actuator endpoints with jackson-dataformat-xml dependency","user":{"login":"poznachowski","id":1326077,"avatar_url":"https://avatars.githubusercontent.com/u/1326077?v=3","gravatar_id":"","url":"https://api.github.com/users/poznachowski","html_url":"https://github.com/poznachowski","followers_url":"https://api.github.com/users/poznachowski/followers","following_url":"https://api.github.com/users/poznachowski/following{/other_user}","gists_url":"https://api.github.com/users/poznachowski/gists{/gist_id}","starred_url":"https://api.github.com/users/poznachowski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/poznachowski/subscriptions","organizations_url":"https://api.github.com/users/poznachowski/orgs","repos_url":"https://api.github.com/users/poznachowski/repos","events_url":"https://api.github.com/users/poznachowski/events{/privacy}","received_events_url":"https://api.github.com/users/poznachowski/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-projects/spring-boot/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"wilkinsona","id":914682,"avatar_url":"https://avatars.githubusercontent.com/u/914682?v=3","gravatar_id":"","url":"https://api.github.com/users/wilkinsona","html_url":"https://github.com/wilkinsona","followers_url":"https://api.github.com/users/wilkinsona/followers","following_url":"https://api.github.com/users/wilkinsona/following{/other_user}","gists_url":"https://api.github.com/users/wilkinsona/gists{/gist_id}","starred_url":"https://api.github.com/users/wilkinsona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wilkinsona/subscriptions","organizations_url":"https://api.github.com/users/wilkinsona/orgs","repos_url":"https://api.github.com/users/wilkinsona/repos","events_url":"https://api.github.com/users/wilkinsona/events{/privacy}","received_events_url":"https://api.github.com/users/wilkinsona/received_events","type":"User","site_admin":false},"milestone":null,"comments":2,"created_at":"2015-10-16T10:26:43Z","updated_at":"2015-10-16T14:34:13Z","closed_at":null,"body":"Having simplest scenario with springboot-web and actuator [1.3.0.M5], when jackson-dataformat-xml dependency is added to the project, actuator endpoints try to serialize themselves in xml format using browser. In several cases they fail: i.e. /autoconfig endpoint:\r\n\r\n>This page contains the following errors:\r\n>\r\n>error on line 1 at column 365: error parsing attribute name\r\n>Below is a rendering of the page up to the first error.\r\n>\r\n>OnBeanCondition@ConditionalOnMissingBean (types: >org.springframework.boot.actuate.audit.AuditEventRepository; SearchStrategy: all) found no beans\r\n\r\nUsing curl they are returned properly in JSON format.\r\nCan i force these endpoints to return JSON from the browser as well ?"},"comment":{"url":"https://api.github.com/repos/spring-projects/spring-boot/issues/comments/148733675","html_url":"https://github.com/spring-projects/spring-boot/issues/4215#issuecomment-148733675","issue_url":"https://api.github.com/repos/spring-projects/spring-boot/issues/4215","id":148733675,"user":{"login":"cemo","id":44156,"avatar_url":"https://avatars.githubusercontent.com/u/44156?v=3","gravatar_id":"","url":"https://api.github.com/users/cemo","html_url":"https://github.com/cemo","followers_url":"https://api.github.com/users/cemo/followers","following_url":"https://api.github.com/users/cemo/following{/other_user}","gists_url":"https://api.github.com/users/cemo/gists{/gist_id}","starred_url":"https://api.github.com/users/cemo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cemo/subscriptions","organizations_url":"https://api.github.com/users/cemo/orgs","repos_url":"https://api.github.com/users/cemo/repos","events_url":"https://api.github.com/users/cemo/events{/privacy}","received_events_url":"https://api.github.com/users/cemo/received_events","type":"User","site_admin":false},"created_at":"2015-10-16T14:34:13Z","updated_at":"2015-10-16T14:34:13Z","body":"duplicates #2449. You can close either one @wilkinsona. I had also provided a workaround by the way. "}}