2학년 2학기에 몰입형SW 교육과정을 수료하면서 스프링을 배웠었지만 프로젝트에 몰두하게 되면서 소홀하게 되었다. 그래서 방학동안에 복학하기 전에 스프링을 다시한번 공부를 해야겠다고 생각하여 시작하게 되었다.
서론이 길었다. 바로 시작하겠다.
스프링을 시작하기에 앞서서 IntelliJ eclipse 등등 많은 툴 중에서
나는 STS(Spring Tool Suite) 라는 툴을 사용하기로 결정하였다.
이유는 스프링을 사용하면서 설정할 것이 적기 때문에 편리하다고 생각했다.
- JDK 11버전
- STS 3.9.14
- Tomcat 9버전
이렇게 3가지를 세팅하고 시작한다.
sts를 3버전을 쓰는 이유는 spring legacy project를 하기 위함이다.
우선 모든 파일은 압축해제를 c드라이브 바로 아래에 하길 바란다.
이유는 경로가 길어 해제 중에 문제가 생길 수 있다.
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.com
자신의 운영체제에 맞게 다운로드한다. 나는 윈도우라서 윈도우용 다운로드를 하였다.
GitHub - spring-attic/toolsuite-distribution: the distribution build for the Spring Tool Suite and the Groovy/Grails Tool Suite
the distribution build for the Spring Tool Suite and the Groovy/Grails Tool Suite - GitHub - spring-attic/toolsuite-distribution: the distribution build for the Spring Tool Suite and the Groovy/Gra...
github.com
여기도 마찬가지로 운영체제에 맞게 다운로드하길 바란다.
Apache Tomcat® - Apache Tomcat 8 Software Downloads
Welcome to the Apache Tomcat® 8.x software download page. This page provides download links for obtaining the latest versions of Tomcat 8.x software, as well as links to the archives of older releases. Unsure which version you need? Specification versions
tomcat.apache.org
톰캣은 9버전 다운 바란다.
그 후에 환경변수를 바꾸어준다. 이렇게 jdk버전이 나와야한다. 만약 나오지 않는다면 더보기 사이트 참고바란다.
다음 글에서 세팅을 하셨다면 이제 프로젝트 생성 부터 진행하겠다.
'Spring' 카테고리의 다른 글
[Part 1] 의존성 주입 실습 #4 (0) | 2023.01.08 |
---|---|
[Part 1] 프로젝트 생성 #3 (0) | 2023.01.08 |
[Part 1] 프로젝트 생성 #2 (0) | 2023.01.07 |
AOP(Asperct Oriented Programming)- Aspect, Advice, jointpoint, pointcut, weaving (0) | 2022.10.26 |
Spring을 왜 사용하는가? (0) | 2022.10.25 |