SpringCloud GateWay网关整合报错
org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name ‘routeDefinitionRouteLocator’ defined in class path resource [org/springframework/cloud/gateway/config/GatewayAutoConfiguration.class]: Unsatisfied dependency expressed through method ‘routeDefinitionRouteLocator’ parameter 4; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘org.springframework.core.convert.ConversionService’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=“webFluxConversionService”)}
No qualifying bean of type ‘org.springframework.core.convert.ConversionService’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Qualifier(value=“webFluxConversionService”)}文章来源:https://www.toymoban.com/news/detail-636950.html
一句话,GateWay中已经包含了starter-web的依赖,不需要再引入starter-web的依赖了。文章来源地址https://www.toymoban.com/news/detail-636950.html
到了这里,关于SpringCloud GateWay网关整合报错Error creating bean with name ‘routeDefinitionRouteLocator‘ defined in clas的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!