eclipse使用tomcat:run启动项目时修改默认端口

命令:-Dmaven.tomcat.port=8081 tomcat:run
原文地址:https://www.cnblogs.com/javahr/p/9246251.html