Spring

[Spring] SpringBoot 기반의 OPEN API 서비스 구현[2] - STS 설치

봉주니 2021. 12. 14. 01:34

1. STS설치

https://github.com/spring-projects/toolsuite-distribution/wiki/Spring-Tool-Suite-3

 

GitHub - spring-projects/toolsuite-distribution: the distribution build for the Spring Tool Suite and the Groovy/Grails Tool Sui

the distribution build for the Spring Tool Suite and the Groovy/Grails Tool Suite - GitHub - spring-projects/toolsuite-distribution: the distribution build for the Spring Tool Suite and the Groovy/...

github.com

아래 zip파일을 다운로드 해줍니다. (Eclipse 4.15, STS 3.9.14 버전)

※참고사항
현재 최신 버전 : Eclipse 4.21 , STS : 3.9.18        (2021.12.14일자 기준)
해당 STS를 설치하는 경우 기본 자바 버전이 11이상으로 설정되어있다.
앞에서 설치한 1.8 버전을 쓰기위해 (Eclipse 4.15, STS 3.9.14 버전) 을 씁니다.

 

새로운 폴더 하나를 생성합니다.

springboot_openapi 라는 폴더를 생성하고, 다운로드 받은 파일의 압축을 풀어줍니다.(저는 반디집사용합니다.)

https://kr.bandisoft.com/bandizip/

 

반디집 공식 홈페이지 · ALZ, EGG, 7Z, RAR 지원 무료 압축 프로그램

반디집 (Windows) 반디집은 다양한 기능을 제공하고 빠르게 작동하는 압축 프로그램입니다. 무료로도 사용할 수 있으며, 유료 에디션은 다양한 고급 기능을 제공합니다. 주요 기능 네이버 자료실

kr.bandisoft.com

 

압축해제하면 sts-bundle 폴더가 생성 됩니다.

2. 인코딩(UTF-8) 설정하기

sts-bundle -> sts-3.9.18 RELEASE -> STS 를 실행해줍니다.

workspace 설정을 해줍니다.

springboot_openapi 폴더 안에 workspace 폴더를 생성 후 지정해줍니다.

Window -> Preferences 로 이동합니다.

1) General -> Workspace -> Text file encoding 을 지정해줍니다.

 

2) General -> Content Types -> Text -> Java Properties File -> Spring Properties File 에 설정합니다.

 

반응형