启动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")注解