操作失败;断点调试时出现error
来源:5-14 实现短信注册登录与分布式会话

weixin_慕婉清8492953
2022-04-02
我把验证码输入时遇到“操作失败”的消息,然后在GraceExceptionHandler里设置断点的时候出现以下error:
Error creating bean with name ‘redisConverter’: Unsatisfied dependency expressed through constructor parameter 1: Ambiguous argument values for parameter of type [org.springframework.data.redis.core.convert.IndexResolver] - did you specify the correct bean references as arguments?
不知道问题出现在哪里。
写回答
1回答
-
注入有问题,你的打断点应该不对,grace这个类没问题的,断点要打在你的业务层,而且当前问题是你的配置问题。和业务代码关系不大
00
相似问题