maven creates a web project Spring configuration file can not find the solution to the problem

maven creates a web project Spring configuration file and cannot find the solution to the problem
http://blog.csdn.net/imlmy/article/details/8263531

In fact, the problem lies in the configuration of the <resource> tag under <build> in maven
http:// blog.csdn.net/yinmingjuncn/article/details/52885195
Configuration in my project:
<build>
<finalName>qoocoCRM</finalName>
<sourceDirectory>src/main/java</sourceDirectory>
        <testSourceDirectory>src/test/java </testSourceDirectory>
        <outputDirectory>classes</outputDirectory>
        <testOutputDirectory>classes</testOutputDirectory>
        <resources>
            <resource>
                <directory>src/main/resources</directory>
                <includes>
                    <include>**/*</include>
                </includes>
                <filtering>true</filtering>
            </resource>
        </resources>

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326515611&siteId=291194637
Recommended