Run
时,出现 o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown
错误*************************** APPLICATION FAILED TO START
The Tomcat connector configured to listen on port 8080 failed to
start. The port may already be in use or the connector may be
misconfigured.Verify the connector’s configuration, identify and stop any process
that’s listening on port 8080, or configure this application to listen
on another port.2023-01-03 12:12:42 [restartedMain] INFO
o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext –
Closing
org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@611a84d8:
startup date [Tue Jan 03 20:12:35 CST 2023]; root of context hierarchy
2023-01-03 12:12:42 [restartedMain] INFO
o.s.j.e.a.AnnotationMBeanExporter – Unregistering JMX-exposed beans on
shutdown 2023-01-03 12:12:42 [restartedMain] INFO
o.s.j.e.a.AnnotationMBeanExporter – Unregistering JMX-exposed beans
Disconnected from the target VM, address: ‘127.0.0.1:14533’,
transport: ‘socket’
***************************
APPLICATION FAILED TO START
***************************
Description:
The Tomcat connector configured to listen on port 8080 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 8080, or configure this application to listen on another port.
2023-01-03 12:12:42 [restartedMain] INFO o.s.b.w.s.c.AnnotationConfigServletWebServerApplicationContext - Closing org.springframework.boot.web.servlet.context.AnnotationConfigServletWebServerApplicationContext@611a84d8: startup date [Tue Jan 03 20:12:35 CST 2023]; root of context hierarchy
2023-01-03 12:12:42 [restartedMain] INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans on shutdown
2023-01-03 12:12:42 [restartedMain] INFO o.s.j.e.a.AnnotationMBeanExporter - Unregistering JMX-exposed beans
Disconnected from the target VM, address: '127.0.0.1:14533', transport: 'socket'
netstat -ano|findstr 8080
,找到占用8080端口的进程taskkill /f /pid PID
终止8080端口进程,此例PID为5476,故输入taskkill /f /pid 5476
原文地址:https://blog.csdn.net/qq_46207024/article/details/128538749
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。
如若转载,请注明出处:http://www.7code.cn/show_39836.html
如若内容造成侵权/违法违规/事实不符,请联系代码007邮箱:suwngjj01@126.com进行投诉反馈,一经查实,立即删除!