Could not find resource mybatis-config.xml
可能的解决方法:
1.查看是否书写错误
2.查看构建的项目资源文件是否出现在了target的class里面
3.资源是否在标记为资源目录下,或者加入到pom文件中
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<excludes>
<exclude>**/*.properties</exclude>
<exclude>**/*.xml</exclude>
</excludes>
<filtering>true</filtering>
</resource>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>true</filtering>
</resource>
</resources>
</build>
````