最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

Consider defining a bean of type ‘com.product.client.ProductFeignClient‘ in your configuration.

运维笔记admin5浏览0评论

错误信息:

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

与本文相关的文章

发布评论

评论列表(0)

  1. 暂无评论