• Register
0 votes

Problem :

Currently I am trying to develop the REST API using the Spring Framework

I am unable to run my application because of below error.


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.


Verify the connector's configuration, identify and stop any process that's listening on port 8090, or configure this application to listen on another port.

My 8080 port on my PC is seems to be busy.

How can I fix this issue?

8 4 2
2,300 points

Please log in or register to answer this question.

1 Answer

0 votes


I know the solution for this issue. Go to your command prompt by just clicking on your Start and then typing cmd. In your command window you need to type in the below command:

netstat -a -n -o

In above command the -o parameter is used to add the PID to the end of a table. On pressing enter and you should see the active connections along with the PID.

Now you need to see the name of your process that is still using your port so you must go to Task Manager by simply pressing CTRL + SHIFT + ESC and then try to click on a Process tab.

Your task manager will not display the process ID by default so now you must click on View and then try to Select Columns.

If you  want to look into services which are running in background then simply right-click and select the open services. Then you can take the required action on that service.

Hope it fixes your issue.

5 2 1
4,980 points

Related questions

0 votes
2 answers 56 views
Problem : Facing bellow Spring boot error unable to start embeddedwebapplicationcontext due to missing embeddedservletcontainerfactory bean.
asked Nov 8, 2019 peterlaw 6.9k points
0 votes
1 answer 59 views
Problem: I am very new to Tomcat Server and Eclipse IDE. I have recently downloaded and installed the tomcat apache server and also tried to configure 8080 port on it.Now it is running very successfully on my pc. And after that I have also downloaded and installed ... > </html> But whenever I try to run it I receive below error: Starting tomcat server at localhost has encountered a problem.
asked Aug 20, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 1.4K views
Problem : I am very new to Eclipse, Tomcat and Java. Currently I am using Eclipse Neon and Tomcat server 9.0 and also the JDK 1.8. Everything was working perfectly well but unfortunately the current setup is now showing me below error: Starting tomcat v9.0 server at localhost ... app which I am currently working on. I have spent two days on above issue. So now I am looking for expert help on it.
asked May 18, 2020 Martin K 6.6k points
0 votes
1 answer 822 views
Problem : Getting strange error related to constant pool as follows org.apache.tomcat.util.bcel.classfile.classformatexception: invalid byte tag in constant pool: 19
asked Nov 11, 2019 peterlaw 6.9k points
1 vote
1 answer 83 views
Problem: I am very new to Web.xml coding. Currently I am facing serious problem because of my web.xml file. If I try to run my Apache tomcat 8 server then every time it shows me below error: Server tomcat v8.0 server at localhost failed to start. in eclipse. If I ... . This error made my life like the hell. So I am looking for the help from web.xml expert who can help me in fixing my problem.
asked May 18, 2020 Martin K 6.6k points
0 votes
1 answer 168 views
Problem: I have very recently integrated my Tomcat 7 in Eclipse. If I start Tomcat 7 using Eclipse then it shows that my Tomcat is up and running but if I go to http://localhost:8080 in the browser then it gives me following error: HTTP Status 404 - / type Status report ... is already in use by some other service but that did not work either for me. How can I fix above error related to Tomcat 7?
asked Aug 2, 2020 Raphael Pacheco 4.9k points
1 vote
1 answer 72 views
Problem: I am very new to Tomcat, Eclipse and Java. I am currently learning to use this combination. My current project which used to work perfectly fine before this weekend I know I have other problems with my code but at least my Tomcat was working. But now if I ... already tried a lot to find the solution on it but with no success. So looking for tomcat expert who can fix this problem for me.
asked May 18, 2020 Martin K 6.6k points
0 votes
1 answer 1.4K views
Problem : I have already placed the JSTL JAR file in the WEB-INF/lib directory. But still, the JSP can't resolve the taglib. I get the below error: Can not find the tag library descriptor for "http://java.sun.com/jsp/jstl/core"
asked Oct 19, 2019 peterlaw 6.9k points
0 votes
1 answer 462 views
Problem : I am very new to Spring Boot. I am learning to write code in Spring Boot. I have written my first Spring Boot code as below @RequestMapping(value = "/bar/foo", method = RequestMethod.GET) public MyResponseEntity<foo> foo() { Foo model; ... return ... .core</groupId> <artifactId>jackson-databind</artifactId> <version>2.4.3</version> </dependency> How can I fix above Spring Boot exception?
asked Feb 29, 2020 mphil 2.3k points
0 votes
2 answers 1.1K views
Problem : I am having following Tomcat Error : org.apache.catalina.core.ContainerBase startInternal Schwerwiegend: A child container failed during start java.util.concurrent.ExecutionException: org.apache.catalina.LifecycleException: Failed to start component [StandardEngine[Catalina].StandardHost[ ... jar · catalina-ant.jar · catalina-ha.jar · catalina-tribes.jar Am I missing any other JAR files?
asked Nov 21, 2019 peterlaw 6.9k points