{"action":"opened","issue":{"url":"https://api.github.com/repos/zalando-stups/stups-spring-oauth2-support/issues/14","labels_url":"https://api.github.com/repos/zalando-stups/stups-spring-oauth2-support/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/zalando-stups/stups-spring-oauth2-support/issues/14/comments","events_url":"https://api.github.com/repos/zalando-stups/stups-spring-oauth2-support/issues/14/events","html_url":"https://github.com/zalando-stups/stups-spring-oauth2-support/issues/14","id":119198827,"number":14,"title":"Missing org.apache.httpcomponents:httpclient dependency","user":{"login":"cberg-zalando","id":7404049,"avatar_url":"https://avatars.githubusercontent.com/u/7404049?v=3","gravatar_id":"","url":"https://api.github.com/users/cberg-zalando","html_url":"https://github.com/cberg-zalando","followers_url":"https://api.github.com/users/cberg-zalando/followers","following_url":"https://api.github.com/users/cberg-zalando/following{/other_user}","gists_url":"https://api.github.com/users/cberg-zalando/gists{/gist_id}","starred_url":"https://api.github.com/users/cberg-zalando/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cberg-zalando/subscriptions","organizations_url":"https://api.github.com/users/cberg-zalando/orgs","repos_url":"https://api.github.com/users/cberg-zalando/repos","events_url":"https://api.github.com/users/cberg-zalando/events{/privacy}","received_events_url":"https://api.github.com/users/cberg-zalando/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-11-27T13:46:32Z","updated_at":"2015-11-27T13:46:32Z","closed_at":null,"body":"When creating the default `RestTemplate` in `TokenInfoResourceServerTokenServices::buildRestTemplate` you explicitly request the implementation using Apache HttpClient, but you don't specify the dependency in the POM.\r\n\r\nIf a user of this project does not accidentally have added it as direct or transitive dependency, the application will fail with a `ClassCastException` at runtime."}}