Spring/spring

Spring(2) - 프로젝트 생성해서 Run해보기

공판다2 2022. 1. 11. 01:47

- Spring 프로젝트 생성 전 준비물

1. 자바 JDK 11 설치

https://kongsabary.tistory.com/45?category=892801 

2. Eclipse 설치

https://kongsabary.tistory.com/46?category=897469

3. 스프링 툴4 설치

https://kongsabary.tistory.com/55

4. 톰캣8 설치

https://kongsabary.tistory.com/51?category=892802 

 

 

* 설치중 Trust가 뜬다면?

https://kongsabary.tistory.com/54?category=898481 


 

1. File -> Spring Legacy Project 클릭합니다.

 

 

2. Spring MVC Project 선택합니다.

 

 

3. 패키지명을 적어줍니다. ex) com.XXX.XXX

* 패키지명에 대한 설명 https://admm.tistory.com/120

 

 

 

4. 해당 프로젝트 오른쪽 마우스 -> Run As -> Run on Server

 

 

- Finish 클릭합니다.

 


 

- 실행시 화면 (인코딩 안해서 깨집니다.)