본문 바로가기

Spring

STS 3 다운로드 및 설치, 초기 세팅

1. 통합개발환경 STS 3 다운로드

Spring Tool Suite 3.9.17

full distribution on Eclipse 4.20

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

 

Spring Tool Suite 3

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

github.com

 

 

2. sts-3.9.17.RELEASE 파일 C: 복사하여 압축 풀기

 

 

3. STS.exe 실행

 

 

4. STS로 개발한 소스가 저장될 곳 지정

 

5. 스프링 프로젝트 생성

Spring Starter Project (Spring Boot Project )

Spring Legacy Project (Spring Project)

 

 

Spring MVC Template 안 보일 경우

 

 

spring-data-gemfire 와 spring-integration 삭제

 

 

▼ 그래도 MVC 안 뜨면

https://reicoding.tistory.com/58

 

Spring MVC Project 안 보이는 경우 해결

STS 3 Spring Legacy Project 생성 시 Spring MVC Project 템플릿 안 보이는 경우 Configure templates... 클릭 spring-data-gemfire 와 spring-integration 삭제 그래도 안 뜨면... Spring → Dashboard Use Old Dashboard 체크 그래도 안 뜨

reicoding.tistory.com

 

 

6. Spring MVC Project 생성

 

 

패키지 구조를 정해주는 것

보통 사이트 도메인 거꾸로 기재

 

 

7. 웹 애플리케이션에 서버 톰캣 연결

왼쪽 하단 No servers are available. Click this link to create a new server 클릭

 

 

설치된 톰캣 버전 선택

 

 

톰캣 경로 설정

 

 

8. 프로젝트 실행

프로젝트 우클릭 → Run As → Run on Server

STS 내부 브라우저에서 실행된 결과

 

 

▼ 외부 브라우저로 변경 하려면

Preferences → Web Broser - General 실행

 

 

크롬 권장

 

 

프로젝트 실행 시 외부 브라우저에서 실행된 결과

 

 

스프링 세팅 완료 !!