라이브러리는 도서관 아닌가요

Tomcat 9.0 에러, the server cannot be started because one or more of the ports are invalid. open the server editor and correct the invalid ports. 본문

Spring/Spring 참고 내용

Tomcat 9.0 에러, the server cannot be started because one or more of the ports are invalid. open the server editor and correct the invalid ports.

veryhi 2021. 10. 14. 04:06

the server cannot be started because one or more of the ports are invalid. open the server editor and correct the invalid ports.

 

내장 서버로 tomcat을 사용하다가 발생한 에러이다. 이 경우 말그대로 포트 지정을 올바르게 해주면 된다.

Window → Show View → Other → servers 검색 후 오픈

 

아래에 보면 Servers 창이 있는데, Tomcat 9.0을 더블 클릭한다.

 

그리고 Overview 창이 뜨면, 해당 admin 포트의 번호를 8005로 입력해주고 저장한다.

 

아래의 Publish module contexts to separate XML files도 클릭해준다.

 

다시 서버를 실행하면 동작할, 수도 있고 안, 할 수도 있고, 상황에 따라 다르다.

Comments