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")注解
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'userController': Injection of autowired dependencies failed;
解决办法:检查controller是否添加了@Controller注解,检查对应的service是否添加了@Service("xxxService")注解
相关文章推荐
- idea 启动springmvc项目java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderLis
- tomcat启动报错:Error configuring application listener of class org.springframework.web.context.ContextLo
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- maven项目 启动报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- IDEA调试SpringMvc项目时,出错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener,解决办法
- Spring 配置问题还是代码问题?Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- tomcat启动异常:ERROR org.springframework.web.context.ContextLoader - Context initialization failed
- SSM问题1:Error configuring application listener of class org.springframework.web.context.ContextLoader
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- maven项目 启动报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- 启动tomcat时报错:org.springframework.web.context.ContextLoader
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- Spring异常:Error configuring application listener of class org.springframework.web.context.ContextLoaderListener
- Error configuring application listener of class org.springframework.web.context.ContextLoaderListene
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- tomcat启动报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener
- 严重: Error configuring application listener of class org.springframework.web.context.ContextLoaderLis
- maven项目 启动报错:java.lang.ClassNotFoundException: org.springframework.web.context.ContextLoaderListener