处理idea加载不到Spring的xml或者properties配置文件
在pom文件的
<!--防止ieda加载不到xml或者properties文件开始-->
<resources>
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
</includes>
<filtering>false</filtering>
</resource>
</resources>
<!--防止ieda加载不到xml或者properties文件结束-->