Error creating bean with name 'accessControlController':
Unsatisfied dependency expressed through field 'accessControl';
nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.ysxn.video.model.AccessControl' available:
expected at least 1 bean which qualifies as autowire candidate.
Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
原因是没有把你项目的这个包的文件加到spring的bean容器里面
Error creating bean with name
最新推荐文章于 2024-08-12 21:51:20 发布