본문 바로가기

BE/Spring

[Spring] 설치 및 프로젝트 생성 시 오류 설정

 

 

 

 

 

Spring 설치 및 프로젝트 생성 시 오류 설정

 

spring 이 설치되어 있는 eclipse (sts) 설치

 

Spring Tool Suite 3.9.14 - New and Noteworthy

Spring Tool Suite 3.9.14: New and Noteworthy Important Note This is a minor bugfix and maintenance release that we ship to our existing STS3 users beyond the announced maintenance lifespan for your convenience. We strongly recommend to update to the new Sp

docs.spring.io

STS3 버전 사용할 것임

 

google 에 sts3 검색해서 나오는 페이지 들어간 뒤 다운로드 링크 클릭

 

상단의 zip 파일 다운로드

 

다운로드 완료

 

압축 해제

 

압축 해제된 폴더 안에 sts-3.9.18.RELEASE 폴더 안에 STS.exe 가 존재

 

STS.exe 실행

 

workspace 설정

 

기본으로 설정되어 있는 서버와 서버 파일 삭제

 

둘 다 삭제하면 왼쪽 화면은 빈 화면이 된다

 

서버를 Tomcat 9.0 으로 추가해 줄 것임

 

서버 Tomcat 9.0 으로 지정 및 Tomcat 9.0 폴더를 지정

 

톰캣 경로를 잡아준 뒤 Finish

 

잠시 STS 종료 후 진행

 

spring-master.zip
0.01MB

 

위 zip 파일 다운로드 받아 압축 해제

 

압축 해제 후 spring > spring-master 폴더에 plugins 폴더 접속

 

위에서 압축을 해제한 plugins 폴더 내의 설정 파일을 복사하여 workspace 폴더 내의\spring\workspace\.metadata\.plugins\org.springsource.ide.eclipse.commons.content.core 위치에 붙여넣기

 

Spring Legacy Project 생성

 

처음 프로젝트를 시작하면 오류 발생

 

다시 STS 종료 후 아래 과정 진행

 

위에서 압축을 해제한 sts템플릿 폴더 내의 설정 파일을 복사하여 workspce폴더 하위의 \spring\workspace\.metadata\.sts\content\org.springframework.templates.mvc-3.2.2 경로 내에 3가지 파일을 붙여넣기

 

다시 STS 실행

 

이번엔 정상적으로 Spring MVC Project 가 생성된다.

728x90