이전글
https://greed-yb.tistory.com/296
[Spring MVC] IntelliJ 에서 프로젝트 생성(3) - 폴더 구조
이전글https://greed-yb.tistory.com/295 [Spring MVC] IntelliJ 에서 프로젝트 생성(2) - 설정이전글https://greed-yb.tistory.com/294 [Spring MVC] IntelliJ 에서 프로젝트 생성(1) - 생성1. 프로젝트 생성 1. 프로젝트 명2. JDK
greed-yb.tistory.com
https://tomcat.apache.org/download-90.cgi
Apache Tomcat® - Apache Tomcat 9 Software Downloads
Welcome to the Apache Tomcat® 9.x software download page. This page provides download links for obtaining the latest version of Tomcat 9.0.x software, as well as links to the archives of older releases. Unsure which version you need? Specification version
tomcat.apache.org
9버전 주소를 링크했지만 본인이 원하는 버전으로 받을 것
난 64bit로 다운로드했고 압축을 풀어준다
1. Tomcat 이름 설정
2. Application server : 압축해제한 Tomcat 폴더 경로로 선택
3. HTTP port : 기본 port는 8080 으로 되어있어서 8080 으로 진행하면 된다
port 충돌 및 변경이 필요하다면
Tomcat 폴더 경로/conf/server.xml -> 마우스 우측 편집
...
<Connector port="7172" protocol="HTTP/1.1"
connectionTimeout="20000"
redirectPort="8443"
maxParameterCount="1000"
/>
...
Connector port 부분 변경 해줄 것
Deployment 메뉴에서
+ -> Artifact... -> War exploded 선택
경로를 / 로 변경한다
Apply 및 Ok 클릭 후
Run 또는 벌레모양의 Debug 버튼을 클릭하면 Tomcat 이 실행된다
log 에 한글 및 영어가 깨질 때
1. Tomcat VM options
-Dfile.encoding=UTF-8 -Duser.language=en -Duser.region=en
2. Edit Custom VM Options...
shfit 키 두 번 누르면 나오는 검색창에 Edit Custom VM Options 을 입력하고 진입
-Dfile.encoding=UTF-8
두 군대 추가 할 것
'개발 > Spring' 카테고리의 다른 글
[Mybatis + Pageable] 게시판 페이징 처리 (0) | 2024.10.18 |
---|---|
[Html + Javascript + Ajax + Paging] 게시판 페이징 처리 (0) | 2024.10.16 |
[Spring MVC] IntelliJ 에서 프로젝트 생성(3) - 폴더 구조 (0) | 2024.10.04 |
[Spring MVC] IntelliJ 에서 프로젝트 생성(2) - 설정 (0) | 2024.10.04 |
[Spring MVC] IntelliJ 에서 프로젝트 생성(1) - 생성 (0) | 2024.10.04 |
댓글