idea中maven项目xml资源文件无法读取
解决方法:编辑pom.xml文件 添加如下标签
<build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources> </build>
解决方法:编辑pom.xml文件 添加如下标签
<build> <resources> <resource> <directory>src/main/java</directory> <includes> <include>**/*.xml</include> </includes> </resource> </resources> </build>