Spring整合Mybatis框架: No bean named 'UserMapper' is defined 报错。basePackage路径已经写了mapper的包名,还是没有被识别到吗?
UserMapper类上没有添加注解,Spring容器没有找到这个bean