Web

[Web] 11. JSP 개발환경설정

빈형임 2020. 8. 7. 14:48

JSP 개발환경 구성

  • JDK 8 이상으로 설치
  • Tomcat 8.5 설치
  • Sprint Tool Suite 4 설치
  • MAVEN3 설치
  • Github 연동

 


 

1. JDK 

 

설치링크 https://www.oracle.com/java/technologies/javase-jdk14-downloads.html

본인의 운영체제에 알맞은 버전을 설치해주도록 한다.

설치 후 환경변수 설정을 완료한 뒤에 cmd에서 java-version을 했을 때 다음과 같이 나오면

잘 설치가 되었다는 뜻이다.

 

 

 

환경변수 설정 참조 링크

https://m.blog.naver.com/PostView.nhn?blogId=rhrkdfus&logNo=221491244470&proxyReferer=https:%2F%2Fwww.google.com%2F


 

2. Tomcat 

 

https://tomcat.apache.org/download-80.cgi

다운로드 후 압축을 해제하면 완료된다.

 

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


 

3. Spring Tool Suite

 

https://spring.io/tools

 

Spring Tools 4 is the next generation of Spring tooling

Largely rebuilt from scratch, Spring Tools 4 provides world-class support for developing Spring-based enterprise applications, whether you prefer Eclipse, Visual Studio Code, or Theia IDE.

spring.io

 


 

4. MAVEN 3

 

http://maven.apache.org/download.cgi

 

Maven – Download Apache Maven

Downloading Apache Maven 3.6.3 Apache Maven 3.6.3 is the latest release and recommended version for all users. The currently selected download mirror is http://mirror.navercorp.com/apache/. If you encounter a problem with this mirror, please select another

maven.apache.org

MAVEN 도 설치 완료 후 환경 변수 설정을 해주어야 한다.

완료가 되면 다음과 같이 설치 상태를 확인할 수 있다.

 

 


5. Github연동

 

  • 원격저장소에 올릴 프로젝트  > 우클릭 > Share Project

 

  • Use or create repository in parent folder of project 체크박스 클릭
  • Create Repository 버튼 클릭

 

 

  • Git Repositories Open
  • 원격저장소 주소 복사
  • Git Repositories 탭에서 Remotes > Create Remote
  • Configure push 클릭
  • URL change > 복사해둔 주소 붙혀넣기 아이디 패스워드 입력 후 Finish
  • Save