Maven中配置Tomcat插件

1 在你的pom.xml中的
中配置该插件

<!--配置tomcat插件-->
  <plugins>

    <plugin>
      <groupId>org.apache.tomcat.maven</groupId>
      <artifactId>tomcat7-maven-plugin</artifactId>
      <version>2.2</version>
      <configuration>
        <path>/zhang</path>
        <port>9090</port>
      </configuration>
    </plugin>
  </plugins>

猜你喜欢

转载自blog.csdn.net/zhang6132326/article/details/104976009
今日推荐