标签:代码 建议 mybatis 项目 exception 问题 includes filter des
1 <build> 2 <resources> 3 <resource> 4 <directory>src/main/java</directory> 5 <includes> 6 <include>**/*.properties</include> 7 <include>**/*.xml</include> 8 </includes> 9 <filtering>true</filtering> 10 </resource> 11 <resource> 12 <directory>src/main/resources</directory> 13 <includes> 14 <include>**/*.properties</include> 15 <include>**/*.xml</include> 16 </includes> 17 <filtering>true</filtering> 18 </resource> 19 </resources> 20 </build>
不是你的问题是maven的问题
只需将这串代码粘贴到pom.xml 文件下
建议每次Maven项目建立起来第一步拷贝这串代码
Mybatis 报错 java.io.IOException: Could not find resource mybatis-config.xml
标签:代码 建议 mybatis 项目 exception 问题 includes filter des
原文地址:https://www.cnblogs.com/springxian/p/13220989.html