报异常原因:
通过字段“userService”表示的不满意的依赖关系;嵌套异常是org.springframework.beans.factory。NoSuchBeanDefinitionException:没有“cn.wolfcode.service”类型的合格bean。IUserService“available:至少需要一个符合autowire候选条件的bean。依赖项注释:{@org.springframework.beans.factory.annotation.Autowired(required=true)}
我这里遇到的原因是对业务层下的实现类没有贴上@Service注解,把注解贴上即可