摘要: Autowire异常主要由三个情况发生的 1. 你的ServiceImpl必须以@Service或@Component注解才行。 2. 自动写入的时候把接口写成实现类了,例如 @Autowired private BrandServiceImpl brandServiceImpl; 应该是 @Aut 阅读全文
posted @ 2017-04-24 17:25 夏无蝉鸣 阅读(156) 评论(0) 推荐(0) 编辑