错误:
Unsatisfied dependency expressed through field ‘XXXXX’; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘com.XXX.XXX.XXX.XXX.XXX’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}
解决办法:
查看是否是实现类没有添加@Service注解
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)