Spring Boot application in eclipse, the Tomcat connector configured to listen on port XXXX failed to start

前端 未结 17 1856
不知归路
不知归路 2021-01-30 02:12

I\'m developing a REST API using Spring Framework.

First I wasn\'t able to run my application because of the same problem. The port 8080 on my computer is busy. Then I

17条回答
  •  刺人心
    刺人心 (楼主)
    2021-01-30 03:15

    There are two options to handle/avoid this situation.

    1. Before re-running the application just terminate the previous connection.
    • Open the console --> right click --> terminate all.
    1. If you forgot to perform action mention on step 1 then
    • Figure out the port used by your application, you could see it the stack trace in the console window
    • Figure out the process id associated to port by executing netstat -aon command in cmd
    • Kill that process and re-run the application.

提交回复
热议问题