Skip to content

톰캣 path, UTF-8 환경 설정 #31

@WonYong-Jang

Description

@WonYong-Jang

팀원들 개발 환경을 맞추기 위해서 반드시 한번씩 확인해 주시면 감사하겠습니다.
현재 프로젝트를 빌드 했을때 경로가 localhost:8080/mybatis 로 시작한다면 반드시 아래 과정을
확인해 주셔야 합니다.

  1. Servers 탭 -> 프로젝트에서 사용중인 톰캣 더블클릭 -> Modules -> Path 의 /mybatis를 클릭하고
    Edit 버튼 클릭하여서 /home으로 수정
  2. 이클립스 왼쪽에 Project Explorer에서 Servers 폴더 이동 -> 프로젝트에서 사용하고 있는 톰캣 -> server.xml 에서 아래와 같이 수정 ( /mybatis -> /home으로 수정)
    <Context docBase="2018-cap1-4" path="/home" reloadable="true" source="org.eclipse.jst.jee.server:2018-cap1-4"/></Host>

또한 git pull 했을때 한글 깨짐 의경우 이클립스 메뉴 -> 서브메뉴 -> 폴더 -> 서브메뉴 -> "text file encoding"을 "UTF-8"으로 설정- 저장

Metadata

Metadata

Labels

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions