Mybatis报错:
IDEA用Maven创建mybatis工程时出现错误:
Error building SqlSession.
The error may exist in com/itheime/dao/IUserDao.xml
Cause: org.apache.ibatis.builder.BuilderException: Error parsing SQL Mapper Configuration. Cause: java.io.IOException: Could not find resource com/itheime/dao/IUserDao.xml
无法找到资源com/itheima/dao/IUserDao.xml时,检查自己的SqlMapConfig.xml文件以及IUserDao.xml文件中格式以及路径是否敲正确了。切记,**认真检查!!!!!**本人血的教训,搞了好久才发现了问题。