标签:apach group apache 插件 margin auto -- run play
1 先下载tomcat插件(在pom中配置)
<!-- 配置Tomcat插件 -->
<plugin>
<groupId>org.apache.tomcat.maven</groupId>
<artifactId>tomcat7-maven-plugin</artifactId>
<configuration>
<port>8001</port>
<path>/springmvc</path>
</configuration>
</plugin>
port:tomcat端口号
path:访问应用的路径
2 运行
Run As --> Maven Build

标签:apach group apache 插件 margin auto -- run play
原文地址:http://www.cnblogs.com/roxy/p/7603991.html