Error creating bean with name注入失败问题
遇到autowired 失败代码又没有报错
多半是@Service 等注解没有加 不能自动扫描注入
解决办法: 找到缺失注解的类 加上注解
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'orderItemServiceImpl': Injection of autowired dependencies failed; nested exception is org.sprin
原创
2020-05-17 17:22:54 ·
1491 阅读 ·
0 评论