首页 > 其他 > 详细

项目运行中出现Injection of autowired dependencies failed错误

时间:2016-04-15 11:59:34      阅读:877      评论:0      收藏:0      [点我收藏+]

1.检查你项目中有没有多余的@Autowired   如果你引入了多余(或者错误的)的@Autowired就会导致以上错误

 

技术分享

 

一般这个错误都是发生在controll,dao,service中,看看你的注解是否有多余或者错误

Dao—@Repository

Service—@Service

Controller—@Controller       

项目运行中出现Injection of autowired dependencies failed错误

原文:http://www.cnblogs.com/zhoumingming/p/5394762.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!