Type interface com.buaa.dao.UserMapper is not known to the MapperRegistry.
是在mybatis核心配置文件中没有配置mapper
<!-- 一在这里插入代码片定要配置mapper-->
<mappers>
<mapper resource="com/buaa/dao/UserMapper.xml"/>
</mappers>
`
Type interface com.buaa.dao.UserMapper is not known to the MapperRegistry.
是在mybatis核心配置文件中没有配置mapper
<!-- 一在这里插入代码片定要配置mapper-->
<mappers>
<mapper resource="com/buaa/dao/UserMapper.xml"/>
</mappers>
`