springcloud openFeign A component required a bean of type ‘ ‘ that could not be found.启动失败

springcloud openFeign A component required a bean of type ‘ ‘ that could not be found.启动失败_第1张图片

错误分析:启动类需要指定openFeign接口所在包

@EnableFeignClients(basePackages = "com.order.feign")

springcloud openFeign A component required a bean of type ‘ ‘ that could not be found.启动失败_第2张图片

你可能感兴趣的:(踩坑,spring,cloud,云原生)