错误信息:
APPLICATION FAILED TO START
------
Description:
A component required a bean of type 'com.product.client.ProductFeignClient' that could not be found.
Action:
Consider defining a bean of type 'com.product.client.ProductFeignClient' in your configuration.
Disconnected from the target VM, address: '127.0.0.1:11035', transport: 'socket'
Process finished with exit code 0
解决:
可能是启动类中@ComponentScan({“com”})配置的不对,可以扩大范围
比是:com.aaac可以写成 com.aaa