添加运行参数:-Dmaven.tomcat.port=8081 tomcat7:run









1.右击“项目”---选中“run as”---选中“run configurations”---弹出如下界面eclipse maven 修改启动端口号

中的端口号。

2.修改pom.xml中的port


1.右击“项目”---选中“run as”---选中“run configurations”---弹出如下界面eclipse maven 修改启动端口号

中的端口号。

2.修改pom.xml中的port

添加运行参数:-Dmaven.tomcat.port=8081 tomcat7:run

相关文章:

  • 2021-09-25
  • 2021-11-18
  • 2021-11-28
  • 2021-11-11
  • 2021-07-06
  • 2021-08-11
  • 2021-07-25
  • 2021-10-26
猜你喜欢
  • 2021-09-06
  • 2021-11-23
  • 2021-05-18
  • 2022-12-23
  • 2021-05-06
  • 2021-12-12
  • 2021-05-07
相关资源
相似解决方案