请稍等 ...
×

采纳答案成功!

向帮助你的同学说点啥吧!感谢那些助人为乐的人

AuthenticationManager无法注入的问题

Description:

A component required a bean of type 'org.springframework.security.authentication.AuthenticationManager' that could not be found.

图片描述
麻烦大佬帮忙看下

正在回答 回答被采纳积分+3

插入代码

1回答

提问者 慕勒5003861 2021-03-20 16:15:42

已解决

0 回复 有任何疑惑可以回复我~
  • 请问一下怎么解决的?我也遇到了!!!
    回复 有任何疑惑可以回复我~ 2022-04-06 16:57:25
  • 我已经解决了,谢谢你拉,!!!在那个SecurityConfiguration的AuthenticationManager方法上加一个@Bean,注入一下就好了!!!
    回复 有任何疑惑可以回复我~ 2022-04-06 17:58:50
问题已解决,确定采纳
还有疑问,暂不采纳
微信客服

购课补贴
联系客服咨询优惠详情

帮助反馈 APP下载

慕课网APP
您的移动学习伙伴

公众号

扫描二维码
关注慕课网微信公众号