오류 메세지
Several ports (8005, 8080, 8009) required by Tomcat v7.0 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).
원인
이클립스가 비정상적으로 종료되고 실행시켰을 때, 발생하는 메세지입니다.
해결방법
포트를 사용하고 있는 PID를 확인하고, 삭제해주면 오류를 해결할 수 있습니다.
아래 명령어를 cmd에 실행시키면 포트에 연결된 PID를 확인할 수 있습니다.
netstat -p tcp -ano
톰캣은 보통 8080, 8009, 8005 포트를 사용하므로 해당하는 PID를 찾아 종료시켜주면 됩니다.
아래 명령어를 실행하면 됩니다.
taskkill /f /pid 5948