Type interface com.innovationV2.mapper.UserMapper is not known to the MapperRegistry
1.mybatis设置文件未添加mapper
在mybatis文件中添加
<mappers>
<mapper resource="com/innovationV2/mapper/UserMapper.xml"/>
</mappers>
2.mapper文件的命名空间设置错误
mapper文件内的namespace需和路径一致
<mapper namespace="com.cskaoyan.StuMapper">