{"action":"created","issue":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-security/issues/73","labels_url":"https://api.github.com/repos/spring-cloud/spring-cloud-security/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/spring-cloud/spring-cloud-security/issues/73/comments","events_url":"https://api.github.com/repos/spring-cloud/spring-cloud-security/issues/73/events","html_url":"https://github.com/spring-cloud/spring-cloud-security/issues/73","id":95378495,"number":73,"title":"Cannot run OAuth2 and Zuul Proxy together","user":{"login":"mkopylec","id":11982847,"avatar_url":"https://avatars.githubusercontent.com/u/11982847?v=3","gravatar_id":"","url":"https://api.github.com/users/mkopylec","html_url":"https://github.com/mkopylec","followers_url":"https://api.github.com/users/mkopylec/followers","following_url":"https://api.github.com/users/mkopylec/following{/other_user}","gists_url":"https://api.github.com/users/mkopylec/gists{/gist_id}","starred_url":"https://api.github.com/users/mkopylec/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkopylec/subscriptions","organizations_url":"https://api.github.com/users/mkopylec/orgs","repos_url":"https://api.github.com/users/mkopylec/repos","events_url":"https://api.github.com/users/mkopylec/events{/privacy}","received_events_url":"https://api.github.com/users/mkopylec/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-security/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-07-16T08:22:10Z","updated_at":"2015-11-05T12:08:56Z","closed_at":null,"body":"When using `@EnableResourceServer` and adding the following dependencies to build.gradle file:\r\n```groovy\r\ndependencies {\r\n\r\n    compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-zuul', version: '1.0.3.RELEASE'\r\n    compile group: 'org.springframework.cloud', name: 'spring-cloud-starter-security', version: '1.0.3.RELEASE'\r\n}\r\n```\r\nthe following error occurs:\r\n```\r\n...\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private org.springframework.cloud.security.oauth2.resource.ResourceServerProperties org.springframework.cloud.security.oauth2.proxy.OAuth2ProxyAutoConfiguration.resourceServerProperties; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.cloud.security.oauth2.resource.ResourceServerProperties] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571)\r\n\tat org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88)\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331)\r\n\t... 17 more\r\nCaused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type [org.springframework.cloud.security.oauth2.resource.ResourceServerProperties] found for dependency: expected at least 1 bean which qualifies as autowire candidate for this dependency. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.raiseNoSuchBeanDefinitionException(DefaultListableBeanFactory.java:1320)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1066)\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:961)\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543)\r\n\t... 19 more\r\n```\r\nThis is because `org.springframework.cloud.security.oauth2.proxy.OAuth2ProxyAutoConfiguration` does not have `org.springframework.cloud.security.oauth2.resource.ResourceServerProperties` configuration properties enabled as showed below:\r\n```java\r\n...\r\n@EnableConfigurationProperties(ProxyAuthenticationProperties.class/*, ResourceServerProperties.class - missing entry*/)\r\npublic class OAuth2ProxyAutoConfiguration {\r\n\r\n\t@Autowired\r\n\tprivate ProxyAuthenticationProperties properties;\r\n        ...\r\n\t@Autowired\r\n\tprivate ResourceServerProperties resourceServerProperties;\r\n        ...\r\n}\r\n```"},"comment":{"url":"https://api.github.com/repos/spring-cloud/spring-cloud-security/issues/comments/154042270","html_url":"https://github.com/spring-cloud/spring-cloud-security/issues/73#issuecomment-154042270","issue_url":"https://api.github.com/repos/spring-cloud/spring-cloud-security/issues/73","id":154042270,"user":{"login":"vivek-dhayalan","id":506718,"avatar_url":"https://avatars.githubusercontent.com/u/506718?v=3","gravatar_id":"","url":"https://api.github.com/users/vivek-dhayalan","html_url":"https://github.com/vivek-dhayalan","followers_url":"https://api.github.com/users/vivek-dhayalan/followers","following_url":"https://api.github.com/users/vivek-dhayalan/following{/other_user}","gists_url":"https://api.github.com/users/vivek-dhayalan/gists{/gist_id}","starred_url":"https://api.github.com/users/vivek-dhayalan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vivek-dhayalan/subscriptions","organizations_url":"https://api.github.com/users/vivek-dhayalan/orgs","repos_url":"https://api.github.com/users/vivek-dhayalan/repos","events_url":"https://api.github.com/users/vivek-dhayalan/events{/privacy}","received_events_url":"https://api.github.com/users/vivek-dhayalan/received_events","type":"User","site_admin":false},"created_at":"2015-11-05T12:08:56Z","updated_at":"2015-11-05T12:08:56Z","body":"I'm also getting similar error as follows:\r\n\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.springframework.cloud.netflix.zuul.ZuulConfiguration$ZuulFilterConfiguration': Injection of autowired dependencies failed; nested exception is org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.Map org.springframework.cloud.netflix.zuul.ZuulConfiguration$ZuulFilterConfiguration.filters; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simpleHostRoutingFilter' defined in class org.springframework.cloud.netflix.zuul.ZuulProxyConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.netflix.zuul.filters.route.SimpleHostRoutingFilter]: Factory method 'simpleHostRoutingFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/client/HttpRequestRetryHandler\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:334) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1214) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:543) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:368) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:201) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.boot.context.embedded.ServletContextInitializerBeans.getOrderedBeansOfType(ServletContextInitializerBeans.java:232) ~[spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.boot.context.embedded.ServletContextInitializerBeans.addAsRegistrationBean(ServletContextInitializerBeans.java:180) ~[spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.boot.context.embedded.ServletContextInitializerBeans.addAdaptableBeans(ServletContextInitializerBeans.java:161) ~[spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.boot.context.embedded.ServletContextInitializerBeans.<init>(ServletContextInitializerBeans.java:78) ~[spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.getServletContextInitializerBeans(EmbeddedWebApplicationContext.java:235) ~[spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.selfInitialize(EmbeddedWebApplicationContext.java:222) ~[spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext.access$000(EmbeddedWebApplicationContext.java:85) ~[spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.boot.context.embedded.EmbeddedWebApplicationContext$1.onStartup(EmbeddedWebApplicationContext.java:207) ~[spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.boot.context.embedded.tomcat.TomcatStarter.onStartup(TomcatStarter.java:55) ~[spring-boot-1.3.0.BUILD-SNAPSHOT.jar:1.3.0.BUILD-SNAPSHOT]\r\n\tat org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5170) ~[tomcat-embed-core-8.0.28.jar:8.0.28]\r\n\tat org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) ~[tomcat-embed-core-8.0.28.jar:8.0.28]\r\n\tat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1408) ~[tomcat-embed-core-8.0.28.jar:8.0.28]\r\n\tat org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1398) ~[tomcat-embed-core-8.0.28.jar:8.0.28]\r\n\tat java.util.concurrent.FutureTask.run(Unknown Source) ~[na:1.7.0_80]\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source) ~[na:1.7.0_80]\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) ~[na:1.7.0_80]\r\n\tat java.lang.Thread.run(Unknown Source) ~[na:1.7.0_80]\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Could not autowire field: private java.util.Map org.springframework.cloud.netflix.zuul.ZuulConfiguration$ZuulFilterConfiguration.filters; nested exception is org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simpleHostRoutingFilter' defined in class org.springframework.cloud.netflix.zuul.ZuulProxyConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.netflix.zuul.filters.route.SimpleHostRoutingFilter]: Factory method 'simpleHostRoutingFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/client/HttpRequestRetryHandler\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:571) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:88) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:331) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\t... 33 common frames omitted\r\nCaused by: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'simpleHostRoutingFilter' defined in class org.springframework.cloud.netflix.zuul.ZuulProxyConfiguration: Bean instantiation via factory method failed; nested exception is org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.netflix.zuul.filters.route.SimpleHostRoutingFilter]: Factory method 'simpleHostRoutingFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/client/HttpRequestRetryHandler\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:599) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.instantiateUsingFactoryMethod(AbstractAutowireCapableBeanFactory.java:1123) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:1018) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:510) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:482) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:305) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:230) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:301) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:196) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:1192) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:1103) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:1014) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:543) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\t... 35 common frames omitted\r\nCaused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [org.springframework.cloud.netflix.zuul.filters.route.SimpleHostRoutingFilter]: Factory method 'simpleHostRoutingFilter' threw exception; nested exception is java.lang.NoClassDefFoundError: org/apache/http/client/HttpRequestRetryHandler\r\n\tat org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:189) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.beans.factory.support.ConstructorResolver.instantiateUsingFactoryMethod(ConstructorResolver.java:588) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\t... 47 common frames omitted\r\nCaused by: java.lang.NoClassDefFoundError: org/apache/http/client/HttpRequestRetryHandler\r\n\tat org.springframework.cloud.netflix.zuul.ZuulProxyConfiguration.simpleHostRoutingFilter(ZuulProxyConfiguration.java:111) ~[spring-cloud-netflix-core-1.1.0.BUILD-SNAPSHOT.jar:1.1.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.cloud.netflix.zuul.ZuulProxyConfiguration$$EnhancerBySpringCGLIB$$8db8297f.CGLIB$simpleHostRoutingFilter$3(<generated>) ~[spring-cloud-netflix-core-1.1.0.BUILD-SNAPSHOT.jar:1.1.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.cloud.netflix.zuul.ZuulProxyConfiguration$$EnhancerBySpringCGLIB$$8db8297f$$FastClassBySpringCGLIB$$1c22d937.invoke(<generated>) ~[spring-cloud-netflix-core-1.1.0.BUILD-SNAPSHOT.jar:1.1.0.BUILD-SNAPSHOT]\r\n\tat org.springframework.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:228) ~[spring-core-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.context.annotation.ConfigurationClassEnhancer$BeanMethodInterceptor.intercept(ConfigurationClassEnhancer.java:318) ~[spring-context-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\tat org.springframework.cloud.netflix.zuul.ZuulProxyConfiguration$$EnhancerBySpringCGLIB$$8db8297f.simpleHostRoutingFilter(<generated>) ~[spring-cloud-netflix-core-1.1.0.BUILD-SNAPSHOT.jar:1.1.0.BUILD-SNAPSHOT]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[na:1.7.0_80]\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_80]\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) ~[na:1.7.0_80]\r\n\tat java.lang.reflect.Method.invoke(Unknown Source) ~[na:1.7.0_80]\r\n\tat org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:162) ~[spring-beans-4.2.3.BUILD-SNAPSHOT.jar:4.2.3.BUILD-SNAPSHOT]\r\n\t... 48 common frames omitted\r\nCaused by: java.lang.ClassNotFoundException: org.apache.http.client.HttpRequestRetryHandler\r\n\tat java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.7.0_80]\r\n\tat java.net.URLClassLoader$1.run(Unknown Source) ~[na:1.7.0_80]\r\n\tat java.security.AccessController.doPrivileged(Native Method) ~[na:1.7.0_80]\r\n\tat java.net.URLClassLoader.findClass(Unknown Source) ~[na:1.7.0_80]\r\n\tat java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.7.0_80]\r\n\tat sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source) ~[na:1.7.0_80]\r\n\tat java.lang.ClassLoader.loadClass(Unknown Source) ~[na:1.7.0_80]\r\n\t... 59 common frames omitted\r\n\r\nI don't think I'm messing up with the mixture of Spring Boot & Spring Cloud. \r\n"}}