您的位置:首页 > 移动开发 > WebAPP

idea启动报错[org.springframework.web.context.ContextLoader.initWebApplicationContext Context initializa]

2018-02-25 00:05 621 查看
启动idea报错org.springframework.web.context.ContextLoader.initWebApplicationContext Context initialization failed
 org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of autowired dependencies failed;
解决办法:检查controller是否添加了@Controller注解,检查对应的service是否添加了@Service("xxxService")注解
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签:  java
相关文章推荐