200字范文,内容丰富有趣,生活中的好帮手!
200字范文 > Consider marking one of the beans as @Primary updating the consumer to accept multiple beans ....

Consider marking one of the beans as @Primary updating the consumer to accept multiple beans ....

时间:2020-02-17 18:30:19

相关推荐

Consider marking one of the beans as @Primary  updating the consumer to accept multiple beans ....

Consider marking one of the beans as @Primary, updating the consumer to accept multiple beans, or using @Qualifier to identify the bean that should be consumed

报这个错是因为sringboot通过@Autowired注入接口的实现类时发现有多个,也就是有多个类继承了这个接口,spring容器不知道使用哪一个。

完整报错

解决方案

起因就是这里配置了这个

clientSecret不匹配

报错行

原因:存储时加密了,导致取出来的时候也是加密的

解决方案,将加密的地方取消

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