-------------------------------------------------------------------------------
Test set: com.example.springsecurity.SpringsecurityApplicationTests
-------------------------------------------------------------------------------
Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 2.027 s <<< FAILURE! - in com.example.springsecurity.SpringsecurityApplicationTests
show Time elapsed: 0.001 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'loginService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'loginServiceImpl': Unsatisfied dependency expressed through field 'authenticationManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.authentication.AuthenticationManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'loginServiceImpl': Unsatisfied dependency expressed through field 'authenticationManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.authentication.AuthenticationManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.authentication.AuthenticationManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
contextLoads Time elapsed: 0 s <<< ERROR!
java.lang.IllegalStateException: Failed to load ApplicationContext
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'userController': Unsatisfied dependency expressed through field 'loginService'; nested exception is org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'loginServiceImpl': Unsatisfied dependency expressed through field 'authenticationManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.authentication.AuthenticationManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
Caused by: org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'loginServiceImpl': Unsatisfied dependency expressed through field 'authenticationManager'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.authentication.AuthenticationManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'org.springframework.security.authentication.AuthenticationManager' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
没有合适的资源?快使用搜索试试~ 我知道了~
springsecurity,shiro
共515个文件
xml:375个
class:51个
java:51个
需积分: 0 0 下载量 107 浏览量
2023-05-27
15:16:56
上传
评论
收藏 130.75MB ZIP 举报
温馨提示
springsecurity,shiro部分配置
资源推荐
资源详情
资源评论
收起资源包目录
springsecurity,shiro (515个子文件)
Menu.class 9KB
RedisCache.class 8KB
RedisCache.class 8KB
LoginUser.class 5KB
LoginServiceImpl.class 5KB
LoginServiceImpl.class 4KB
SecurityConfig.class 4KB
SecurityConfig.class 4KB
JwtUtil.class 4KB
JwtUtil.class 4KB
ResultView.class 4KB
UserDetailsServiceImpl.class 4KB
UserDetailsServiceImpl.class 3KB
User.class 3KB
UserController.class 3KB
JwtAuthenticationTokenFilter.class 3KB
JwtAuthenticationTokenFilter.class 3KB
User.class 3KB
FastJsonRedisSerializer.class 3KB
FastJsonRedisSerializer.class 3KB
User.class 3KB
LoginUser.class 2KB
UserVo.class 2KB
ResultView.class 2KB
ResultView.class 2KB
ShiroConfig.class 2KB
UserRealm.class 2KB
RedisConfig.class 2KB
SpringsecurityApplicationTests.class 2KB
LoginController.class 2KB
RedisConfig.class 2KB
LoginController.class 2KB
AuthenticationEntryPointImpl.class 2KB
AccessDeniedHandleImpl.class 2KB
GetUserId.class 1KB
UserServiceImpl.class 1KB
GetUserId.class 1KB
WebUtils.class 1KB
WebUtils.class 1KB
SpringsecurityApplication.class 884B
SpringbootXiaomi2Application.class 839B
Rj2111springbootApplication.class 830B
UserMapper.class 714B
UserMapper.class 651B
Rj2111springbootApplicationTests.class 581B
SpringbootXiaomi2ApplicationTests.class 554B
MenuMapper.class 543B
UserMapper.class 532B
UserService.class 449B
LoginService.class 380B
LoginService.class 308B
.gitignore 184B
.gitignore 184B
.gitignore 184B
rj2111springboot.iml 16KB
springsecurity.iml 12KB
springboot_xiaomi2.iml 12KB
springboot_xiaomi2-0.0.1-SNAPSHOT.jar 56.2MB
rj2111springboot-0.0.1-SNAPSHOT.jar 46.51MB
springsecurity-0.0.1-SNAPSHOT.jar 41.21MB
RedisCache.java 6KB
RedisCache.java 6KB
LoginServiceImpl.java 3KB
SecurityConfig.java 3KB
LoginServiceImpl.java 3KB
JwtUtil.java 3KB
JwtUtil.java 3KB
SecurityConfig.java 2KB
JwtAuthenticationTokenFilter.java 2KB
JwtAuthenticationTokenFilter.java 2KB
ShiroConfig.java 2KB
UserController.java 2KB
LoginUser.java 2KB
UserRealm.java 2KB
FastJsonRedisSerializer.java 2KB
FastJsonRedisSerializer.java 2KB
UserDetailsServiceImpl.java 2KB
UserDetailsServiceImpl.java 1KB
Menu.java 1KB
RedisConfig.java 1KB
RedisConfig.java 1KB
ResultView.java 1KB
ResultView.java 1KB
LoginUser.java 1KB
LoginController.java 1KB
AuthenticationEntryPointImpl.java 1KB
AccessDeniedHandleImpl.java 1KB
LoginController.java 1KB
SpringsecurityApplicationTests.java 969B
ResultView.java 900B
UserVo.java 900B
UserServiceImpl.java 783B
GetUserId.java 733B
WebUtils.java 729B
WebUtils.java 711B
GetUserId.java 695B
User.java 564B
User.java 524B
SpringsecurityApplication.java 445B
SpringbootXiaomi2Application.java 415B
共 515 条
- 1
- 2
- 3
- 4
- 5
- 6
资源评论
cjp0923
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功