这个问题,不用多看,就是端口冲突了;但是我除了微信qq没启动别的啥东西了;
2021-01-05 10:54:51.468 [main] DEBUG o.s.b.diagnostics.LoggingFailureAnalysisReporter - Application failed to start due to an exception
org.springframework.boot.web.embedded.tomcat.ConnectorStartFailedException: Connector configured to listen on port 8681 failed to start
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.checkConnectorHasStarted(TomcatWebServer.java:232)
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.checkThatConnectorsHaveStarted(TomcatWebServer.java:224)
at org.springframework.boot.web.embedded.tomcat.TomcatWebServer.start(TomcatWebServer.java:202)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.startWebServer(ServletWebServerApplicationContext.java:311)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.finishRefresh(ServletWebServerApplicationContext.java:164)
at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:549)
at org.springframework.boot.web.servlet.context.ServletWebServerApplicationContext.refresh(ServletWebServerApplicationContext.java:142)
at org.springframework.boot.SpringApplication.refresh(SpringApplication.java:775)
at org.springframework.boot.SpringApplication.refreshContext(SpringApplication.java:397)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:316)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1260)
at org.springframework.boot.SpringApplication.run(SpringApplication.java:1248)
at com.sgsy.ReceivedataApplication.main(ReceivedataApplication.java:16)
2021-01-05 10:54:51.468 [main] ERROR o.s.b.diagnostics.LoggingFailureAnalysisReporter -
原因:
端口冲突了
办法:
1、win+r再来cmd-----Enter
端口命令查询来一套:
netstat -ano
回车
是谁在后台私自动作,害我一顿好找
tasklist | findstr 9184
原来是微信WeChat.exe,今天早上更新的程序
我就把微信进程杀掉(从任务管理栏的进程里就可以找到,结束进程就可以),当然也可以通过命令行杀死进程
taskkill /f /t /im WeChat.exe
好了,程序启动,开始码砖,然后重新登陆微信