웹개발/Spring Framework
[스프링(Spring)] Mac 개발환경설정
신수동이
2016. 9. 25. 02:54
Mac 환경에서 스프링 환경을 설정 과정과 발생했던 오류 들에 대해 적어보았다.
1. JDK 설치
환경변수 설정(vi ~/.bash_profile)
2. Tomcat 설치
터미널 실행 : sh tomcat/bin/startup.sh
3. STS(Spring tool suite) 설치
4. 프로젝트 생성 및 Tomcat 연동
1) 프로젝트 생성 시(Spring Lagacy Project)에서 Spring MVC Project가 안보일 경우 configure templetes에서 다음과 같이 설정한다.
2) Tomcat 서버 연동 시 버전에 따라 오류가 발생할 경우 (The Apache Tomcat installation at this directory is version 8.5.0. A Tomcat 8.0 installation is expected.)
stackoverflow에서 해결방법이 있었다.
5. Git 설치 & 소스트리 설치
참고 : http://hackersstudy.tistory.com/41