使用tomcat7插件需要的配置文件

在pom.xml中配置:

    <build>
        <!-- 配置插件 -->
        <plugins>
            <plugin>
                <groupId>org.apache.tomcat.maven</groupId>
                <artifactId>tomcat7-maven-plugin</artifactId>
                <configuration>
                    <port>8080</port>
                    <path>/</path>
                    <uriEncoding>UTF-8</uriEncoding>
                </configuration>

            </plugin>
        </plugins>
    </build>

 

posted @ 2019-11-11 19:34  小园ssx  阅读(297)  评论(0)    收藏  举报