***************************
APPLICATION FAILED TO START
***************************
Description:
Field productClient in com.imooc.order.service.impl.OrderServiceImpl required a bean of type 'com.imooc.product.client.ProductClient' that could not be found.
Action:
Consider defining a bean of type 'com.imooc.product.client.ProductClient' in your configuration.
这是因为没有扫描到这些类,
@EnableFeignClients(basePackages = "com.imooc.product.client")
应该有这功能的,但没起到效果,所以又加上了如下
@ComponentScan(basePackages = "com.imooc.product.client")