springmvc 打包遇到的问题

1、测试有错误,过不去,mvn install -DSkipTests 

2、设置resources路径,在pom.xml中添加 

<build>
    <resources>
        <resource>
            <directory>conf/local</directory>
            <includes>
                <include>**/*.xml</include>
            <includes>
            <filtering>true</filtering>
        </resource>
    </resources>
<build>

 3、当程序有运行时异常时,启动了tomcat,也无法访问8080页面。

posted on 2019-03-05 09:39  重八  阅读(218)  评论(0编辑  收藏  举报

导航