启动zuul时候报错:The bean 'proxyRequestHelper', defined in class path resource [org/springframework/cloud/netflix/zuul
启动zuul时候报错:The bean 'proxyRequestHelper', defined in class path resource [org/springframework/cloud/netflix/zuul报错信息如下
*************************** APPLICATION FAILED TO START *************************** Description: The bean 'proxyRequestHelper', defined in class path resource [org/springframework/cloud/netflix/zuul/ZuulProxyAutoConfiguration$NoActuatorConfiguration.class], could not be registered. A bean with that name has already been defined in class path resource [org/springframework/cloud/netflix/zuul/ZuulProxyAutoConfiguration$EndpointConfiguration.class] and overriding is disabled. Action: Consider renaming one of the beans or enabling overriding by setting spring.main.allow-bean-definition-overriding=true Process finished with exit code 1
原因是版本的问题

改成下面的就可以ile

就是springcloud与springboot的版本上存在存问题
博客指出启动Zuul时出现报错,报错信息为The bean 'proxyRequestHelper'相关。经分析,问题原因是版本问题,具体为Spring Cloud与Spring Boot的版本存在不兼容情况。
1万+

被折叠的 条评论
为什么被折叠?



