Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2018-08-05 14:10:01.000 ERROR 15332 --- [ main] o.s.b.d.LoggingFailureAnalysisReporter :
***************************
APPLICATION FAILED TO START
***************************
Description:
The Tomcat connector configured to listen on port 8200 failed to start. The port may already be in use or the connector may be misconfigured.
问题描述:
8200端口被占用了....很无奈,没启动怎么会被占用呢...
解决办法:
1.打开cmd命令窗口 输入如下指令查看所有端口和PID
netstat -ano
如图操作:
2.找到对应的端口对应的PID 输入指令找到对应的进程
tasklist | findstr "4884"
如图操作:
3.杀掉该进程 再次启动就OK啦
taskkill /f /t /im java.exe
如图所示: