在pom中加入了
<build>
<resources>
            <resource>
                <directory>src/main/java</directory>
                <includes>
                   <include>**/*.xml</include>
                </includes>
                <filtering>false</filtering>
            </resource>
        </resources>
</build>
Tomcat就起不来了  停止在
log4j:WARN No appenders could be found for logger (org.springframework.web.context.ContextLoader).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
这里不动。