zuul网关服务启动不成功
报错:
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
原因:项目环境 SpringBoot 2.1.5.RELEASE 和 SpringCloud Finchley.RELEASE 版本不兼容
解决办法:SpringCloud Finchley.RELEASE 版本 替换成 Greenwich.RELEASE
版本对应关系
更多推荐
zuul网关启动报错:Consider renaming one of the beans or enabling overriding by setting
发布评论