Setting
[Intellij] Apache Tomcat 추가
p.guns23
2024. 11. 8. 21:50
들어가기 😃
안녕하세요. 지난번에 이클립스에 Apache Tomcat을 추가 관련한 블로그 포스팅을 기재한 적이 있습니다.
2024.03.19 - [Setting] - [eclipse] Apache Tomcat 추가
이번에는 Intellij에서 Apache Tomcat을 추가하도록 하겠습니다.
MAC OS 환경에서 진행하고 있습니다.
Tomcat 다운로드하기
아파치 톰캣 공식 홈페이지에 들어가서, 톰캣버전을 다운로드합니다.
저는 tomcat버전 9.0로 진행하였습니다.
Apache Tomcat® - Welcome!
The Apache Tomcat® software is an open source implementation of the Jakarta Servlet, Jakarta Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Annotations and Jakarta Authentication specifications. These specifications are part of the Jakarta
tomcat.apache.org
Intellij에 Apache Tomcat 서버 추가
- Current File > Edit Configuratons 클릭
- Add new > TomEE Server > Local 클릭
- Name 설정
- Configure 클릭 > 다운로드한 tomcat 클릭
- Fix 버튼 클릭
- exploded 선택 후 > Application context 위와 같이 변경 > Apply 클릭
- 위의 실행 버튼을 클릭하면 tomcat이 구동되는 것을 확인할 수 있다.
끝으로 😆
인텔리제이에 legacy spring 프로젝트를 구동하면서, tomcat server를 설치를 해보았습니다.
인텔리제이에 springboot만 해봐서.. 복잡할 줄 알았는데!
생각보다 간단!! 끝!