spring整合mybatis后条用mapper接口出现如下异常,我找不到原因,各位大神指点

图片说明
这是正常的测试单元图片说明
这是xml的配置文件
Error creating bean with name 'com.my.project.controller.Testcontroller': Unsatisfied dependency expressed through field 'admininfomapper'; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type 'com.my.project.mapper.AdminInfoMapper' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)}

这是爆出的异常,求各位大神指点,我怎么都找不出原因

你的配置有没有问题我不知道,去mapper 上先加个@Mapper 注解试试能不能执行先,在来排查