一、报错如下

在这里插入图片描述

[ERROR] Failed to execute goal org.mortbay.jetty:jetty-maven-plugin:8.1.12.v20130726:run (default-cli) on project hk-ecrm-corp-service-web: Failure: Address already in use: bind -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR] 
[ERROR] For more information about the errors and possible solutions, please read the following articles:

二、原因分析:

端口号被占用,导致无法运行

三、解决方法:

终止对应的端口号即可

netstat -ano | findstr  "port"   查询被占用的端口号

tasklist |findstr "PID"

taskkill /T /F /PID pid  结束进程

在这里插入图片描述

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐