개발/Web 2

[Apache Tomcat 에러] 'Server Tomcat v9.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.' 해결법

개발환경 Apache Tomcat 9.0 Eclipse 2019-12 (4.14) 문제 Eclipse에서 Project를 Tomcat으로 실행시켰을 때, 일정 시간 경과 후 아래와 같은 에러가 발생했다. 'Server Tomcat v9.0 Server at localhost was unable to start within 45 seconds. If the server requires more time, try increasing the timeout in the server editor.' 찾아보니 Tomcat은 서버를 시작시킬 때 45초라는 Timeout을 설정해두었고, 이를 넘기면 문제가 있다고 판단하여 에러를 낸다고 한다. 나의 경우에도 Maven으로 여러 라이브러리 종속성을 추가하다보니 실행시키는..

개발/Web 2020.09.02

[Apache Tomcat 에러] 'The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports.' 해결법

개발환경 Apache Tomcat 9.0 Eclipse 2019-12 (4.14) 문제 Run on server(Apache Tomcat)을 하는 도중 아래와 같은 에러가 발생했다. 'The server cannot be started because one or more of the ports are invalid. Open the server editor and correct the invalid ports.' 지금까지 Tomcat 오류가 뜨는 이유로는 보통 Tomcat의 중복 실행이거나, port 설정에 문제가 있었다. 해결 Tomcat의 중복 실행 문제라면 '서비스'라는 프로그램을 켜서 Tomcat을 찾아 종료시키면 그만이지만, port 설정이 문제라면 다음을 따라하면 해결된다. 1) 서버 더블클릭..

개발/Web 2020.09.02