A component required a bean of type orgspringframeworksecurityauthenticationAuthenticationManager that could not be found解决
这个错误是因为在你的代码中需要用到一个类型为'org.springframework.security.authentication.AuthenticationManager'的bean,但是容器中没有找到对应的bean导致的。
解决方法如下:
- 确认你的代码中是否真的需要使用到'org.springframework.security.authentication.Authentica