1

i am working on a project using spring boot.:library management system. In order to get the fines to be calculated, i have changed the system date. But, after that when i re-run the application, i am getting the following error in console

The Tomcat connector configured to listen on port 8080 failed to start. The port may already be in use or the connector may be wrongly configured.

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.

Mehul Gupta
  • 440
  • 5
  • 23
mounika
  • 97
  • 2
  • 5
  • 14

3 Answers3

0

Seems you have an instance of tomcat already running on port 8080. You need to kill the process for this, If using Java just kill the java process , if using linux kill the pid of the server.

Mehul Gupta
  • 440
  • 5
  • 23
0

Seems like some other application is using that 8080 port. You can do two thing first kill that process which is using 8080 port another approach is to use another port for your application. For this add following property in bootstrap.propeties file

server.port=9000
Farrukh Ahmed
  • 473
  • 4
  • 11
  • 26
0

Two approachs;

  • Open task-manager with ctrl + alt + delete , find with java process with java and end task them all and re-run project.

  • From command line in linux ps -A |grep java . And get pid of each elements. Kill with kill -9 PID command.

drowny
  • 2,067
  • 11
  • 19