菜单 学习猿地 - LMONKEY

VIP

开通学习猿地VIP

尊享10项VIP特权 持续新增

知识通关挑战

打卡带练!告别无效练习

接私单赚外块

VIP优先接,累计金额超百万

学习猿地私房课免费学

大厂实战课仅对VIP开放

你的一对一导师

每月可免费咨询大牛30次

领取更多软件工程师实用特权

入驻
254
0

The Tomcat connector configured to listen on port 80 failed to start. The port may already be in use or the connector may be misconfigured.

原创
05/13 14:22
阅读数 94062

遇到错误:

........
..........

***************************
APPLICATION FAILED TO START
***************************

Description:

The Tomcat connector configured to listen on port 80 failed to start. The port may already be in use or the connector may be misconfigured.

Action:

Verify the connector's configuration, identify and stop any process that's listening on port 80, or configure this application to listen on another port.

09:40:18.163 [restartedMain] INFO  o.q.c.QuartzScheduler - [shutdown,666] - Scheduler RuoyiScheduler_$_KING1578274815494 shutting down.
09:40:18.163 [restartedMain] INFO  o.q.c.QuartzScheduler - [standby,585] - Scheduler RuoyiScheduler_$_KING1578274815494 paused.
09:40:18.164 [restartedMain] INFO  o.q.c.QuartzScheduler - [shutdown,740] - Scheduler RuoyiScheduler_$_KING1578274815494 shutdown complete.
09:40:18.164 [restartedMain] INFO  sys-user - [shutdownAsyncManager,62] - ====关闭后台任务任务线程池====
09:40:18.166 [restartedMain] INFO  sys-user - [shutdownEhCacheManager,75] - ====关闭缓存====
09:40:18.180 [restartedMain] INFO  c.a.d.p.DruidDataSource - [close,1928] - {dataSource-1} closed

Process finished with exit code 1

 

出现问题的原因:

  80端口被占用,上次运行的项目程序在关闭intellij idea时,没有停止运行

 

 

解决方法:

  1.打开cmd命令窗口  输入如下指令查看所有端口和PID

netstat -ano

 

  2.找到对应的端口对应的PID  输入指令找到对应的进程

 tasklist | findstr "10136"

 

  3.杀掉该进程 再次启动就OK啦

 taskkill /f /t /im java.exe 

 

发表评论

0/200
254 点赞
0 评论
收藏