본문 바로가기

BackEnd/Spring

STS4 (Spring Tool Suite 4) 설치 및 설정

Spring Tool Suite 4 설치

  • STS 4 다운로드를 위해 다음 링크에 접속 후 운영체제에 맞게 설치

Spring Tools 4 is the next generation of Spring tooling

 

  • 설치 후 SpringToolSuite4 실행
  • Help → Eclipse Marketplace → Spring 검색 → STS add-on 설치

 

  • 설치 완료 후 File → new → project → others → Spring → Spring Legacy Project 생성
  • Spring MVC Project 선택 후 다운로드

- 생성된 프로젝트의 구조 -

 

  • Eclipse Marketplace → enterprise 검색 → Eclipse Enterprise Java and Web Developer Tools 3.21 설치

인코딩 설정

  • Window 의 경우 설정 (Mac은 해당x)
  • Preference → Encoding 검색 → Workspace → Text File Encoding → other 체크 → UTF-8 설정

서버 설정

  • Preference → Server → Runtime Environment → Add → Apache Tomcat v 9.0 선택
  • Browse → Tomcat 경로 폴더 선택 → Apply and Close