Spring-diary

Spring 사용 준비

reallygeorge? 2020. 2. 4. 23:09

Spring 설치  ->Spring Bundle 폴더에 Workspace 경로 설정 ->sts 프로그램 실행 -> Project 생성 - > 마우스 오른쪽클릭 ->Configure ->convert to maven project ->pom.xml 파일 클릭 ->mvnrepository 사이트에서 dependency 설정해 

 환경 설정해주기 

 

 

pom.

               

 

 

 

스프링 framework dependency

 

Bean만들 파일 준비 

src 마우스 오른쪽 버튼 new 클릭  ->Spring bean configuration file 선택 ->xml 스키마를 방금 만든 file에 설정해준다.

 

xml 스키마