摘要: autowire异常主要由三个情况发生的 像上面的情况是BrandDao没有注入, 1。你的BrandServiceImpl必须以@Service或@Component注解才行。 2。自动写入的时候把接口写成实现类了 @Autowired private BrandServiceImpl brand 阅读全文
posted @ 2017-02-27 09:33 gonia1911 阅读(458) 评论(0) 推荐(0)