在mybatis中出现Caused by: java.io.IOException: Could not find resource com.jingdong.mybatis.mappers.UserMapper.xml的错误
后来我发现mybatis.config的核心文件中映射文件路径写错了
改成
最后终于出结果了
在mybatis中出现Caused by: java.io.IOException: Could not find resource com.jingdong.mybatis.mappers.UserMapper.xml的错误
后来我发现mybatis.config的核心文件中映射文件路径写错了
改成
最后终于出结果了