这个办法很有用,具体链接: 解决配置文件没有编译到target中的问题,ava.io.IOException: Could not find resource mybatis-config.xml_菜鸟进化中…的博客-CSDN博客