1 <build>
 2 <!--插件 -->
 3 <plugins>
 4 <plugin>
 5 <groupId>org.apache.tomcat.maven</groupId>
 6 <artifactId>tomcat7-maven-plugin</artifactId>
 7 <version>2.2</version>
 8 <configuration>
 9 <!--端口号 -->
10 <port>8090</port>
11 <!--项目访问的根目录 
12 url:localhost:8090/项目名称/addUser.action
13 -->
14 <path>/</path>
15 </configuration>
16 </plugin>
17 </plugins>
18 </build>

 

相关文章:

  • 2021-12-27
  • 2021-09-15
  • 2021-07-17
  • 2022-12-23
  • 2021-10-04
  • 2021-05-22
  • 2021-05-22
  • 2022-12-23
猜你喜欢
  • 2021-05-15
  • 2021-05-15
  • 2021-12-26
  • 2021-12-10
相关资源
相似解决方案