onsen code monkey

個人的な日記とプログラミング備忘録です

【Spring】Tomcatが起動できなかった時のメモ

Spring BootでTomcat立ち上げようとしたら下記のエラーが出た

***************************
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.

netstatでポート8080を調べる

$ netstat -nao | findstr 8080

f:id:hitoto28:20191024110503p:plain

あとはタスクマネージャーでPID6040のサービスを探して停止するだけ