在maven-web项目中启动tomcat7

在maven-web项目中启动tomcat7

pom.xml

      <plugin>
        <groupId>org.apache.tomcat.maven</groupId>
        <artifactId>tomcat7-maven-plugin</artifactId>
        <version>2.2</version>
        <configuration>
          <port>8080</port>
        </configuration>
      </plugin>

猜你喜欢

转载自blog.csdn.net/Baymax0912/article/details/109013889