본문 바로가기

Study

[Spring] 스프링 개발 환경 구축

 

1. JDK 다운 설치

https://vwvww.tistory.com/10  참고

 

[JAVA/자바] 자바11 설치 / 환경 변수 설정

자바 설치 Oracle 홈페이지 접속 https://www.oracle.com/java/technologies/downloads/ Download the Latest Java LTS Free Subscribe to Java SE and get the most comprehensive Java support available, with 24/7 global access to the experts. www.oracle.co

vwvww.tistory.com

 

 

2. Tomcat 설치

https://tomcat.apache.org/ 

 

Apache Tomcat® - Welcome!

The Apache Tomcat® software is an open source implementation of the Jakarta Servlet, Jakarta Server Pages, Jakarta Expression Language, Jakarta WebSocket, Jakarta Annotations and Jakarta Authentication specifications. These specifications are part of the

tomcat.apache.org

 

사이트에 접속 후 왼쪽 사이드 메뉴의 Download 항목에서 원하는 톰캣 버전을 선택하고 64-bit Windows zip을 다운로드합니다.

저는 Tomcat 9 버전으로 받았어요.

 

3. Maven 다운 설치

Maven – Welcome to Apache Maven

 

Maven – Welcome to Apache Maven

Welcome to Apache Maven Apache Maven is a software project management and comprehension tool. Based on the concept of a project object model (POM), Maven can manage a project's build, reporting and documentation from a central piece of information. If you

maven.apache.org

 

Binary zip archive 다운로드하고 압축 풀기

 

압축 해제한 폴더에 repository라는 새 폴더를 생성해 줍니다.

라이브러리들이 다운로드되어 저장될 폴더입니다.

 

 

conf 폴더에 접근 후 settings.xml 파일을 열어 주석 처리된 <localRepository>란 부분을 찾아 복사하여 밖으로 뺀 뒤

저장소로 이용하고자 하는 폴더 (repository 경로)로 설정해 줍니다.

 

4. STS (Spring Tool Suite) 설치

STS는 스프링 프레임워크를 사용하기 위한 개발 툴입니다.

Spring Tool Suite 3 · spring-attic/toolsuite-distribution Wiki · GitHub

 

Spring Tool Suite 3

the distribution build for the Spring Tool Suite and the Groovy/Grails Tool Suite - spring-attic/toolsuite-distribution

github.com

 

원하는 버전 다운로드하면 됩니다. 저는 jdk11이라서 3.9.14로 받았습니다.

다운로드하고 압축 풀기 (시간이 조금 걸릴 수 있어요)

sts-bundle -> sts-3.9.14.RELEASE -> STS.exe를 실행하면 됩니다.

 

 

끝!