Could not find resource mybatis.xml 找不到mybatis主配置文件的三种解决方式 look 第一种:先清除target目录 再重新compile编译 第二种:让idea重构项目 第三种 :手动添加到target目录下的classes包下