700字范文,内容丰富有趣,生活中的好帮手!
700字范文 > 解决:Field xxClient in XXX required a bean of type 'XXX' that could not be found

解决:Field xxClient in XXX required a bean of type 'XXX' that could not be found

时间:2024-04-20 09:02:45

相关推荐

解决:Field xxClient in XXX required a bean of type 'XXX' that could not be found

使用@Autowired导入client时报如下错误:

找不到这个client,于是到启动类里观察@EnableFeignClients("")配置路径,发现果然不对:

修改后问题解决。

多路径扫描配置:

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。