./categories/back-end
Spring 개발환경 Eclipse EE·STS·Tomcat
구성
- Eclipse EE — eclipse.org/downloads/packages
- STS — Help → Eclipse Marketplace → "sts" 검색·설치 (Maven 내장)
- Tomcat — tomcat.apache.org zip/installer
- 연동 — Window → Preferences → Server → Runtime Environment → Add → Tomcat 경로·JRE
- 프로젝트 — File → New → Other → Spring → Legacy Project → Spring MVC Project
- 실행 — 프로젝트 우클릭 → Run As → Run on Server
servlet-context.xml 오류 시
pom.xml에 추가:
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>3.1.0.RELEASE</version>
</dependency>
관련 링크: https://boxfoxs.tistory.com/334
./comments