Tomcat Eclipse Error: Starting Tomcat v8.0 Server at localhost has encountered a problem. ** Solution




Hello guys,

I have been recently working on Tomcat 8 with Eclipse and got an error message when I tried to start the server after some time.
The error was:

Starting Tomcat v8.0 Server at localhost has encountered a problem.

Several ports (8005, 8080, 8009) required by Tomcat v8.0 Server at localhost are already in use. The server may already be running in another process, or a system process may be using the port. To start this server you will need to stop the other process or change the port number(s).


In order to solve this problem I shut down the Tomcat server:

  1. --> Go to Tomcat installation directory,
  2. --> Then go to /bin subfolder,
  3. --> Execute shutdown.bat (on Windows)
  4. --> Execute shutdown.sh (on Linux). The command to execute ( sh shutdown.sh )

Now, start Tomcat server from Eclipse and it will work without a problem..

Hope this helps, please leave a comment if you have any questions or comments.
Author:

Software Developer, Codemio Admin

Disqus Comments Loading..