JAVA + SpringSecurity + 创建名为“securityConfig”的 bean 时出错:自动装配依赖项注入失败

问题描述 投票:0回答:0

我正在用JAVA做一个小项目,我使用Spring Security进行身份验证,但是当我尝试运行我的代码时,它给了我以下错误堆栈:

org.springframework.beans.factory.UnsatisfiedDependencyException:创建文件 [C:\Users\Matheus Castilho\Desktop\projetos\BookStoreAPI arge 中定义的名为“adminUserConfig”的 bean 时出错

java spring-boot autowired
© www.soinside.com 2019 - 2024. All rights reserved.