Spring loaded less processing idea or properties of xml configuration file

In the pom file Add the following code label money

    <!--防止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文件结束-->

Guess you like

Origin www.cnblogs.com/tonyzt/p/11234708.html