반응형
스프링의 시작
1. 메이븐 프로젝트 생성
new -> Spring Project -> 탬플릿에서 Simple Spring Maven 선택 후 생성
2. 기본 폼 생성
-> pom.xml 을 수정하여 직접 라이브러리를 조작할 수 있음
<dependencies>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-context -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>4.3.2.RELEASE</version>
</dependency>
</dependencies>
이와같이 <dependencies> 로 묶인 부분을 조작
ex) mvnrepository.com 에 접속해서 spring을 검색, Spring Context를 선택 후 원하는 버전을 선택
가운데에 있는 소스를 복사하여 Spring에 와서 붙혀넣기
반응형
'Programing > Spring' 카테고리의 다른 글
Spring Boot JPA를 활용한 Lazy Loading과 Eager Loading의 이해 (0) | 2024.02.06 |
---|---|
스프링 웹플럭스: 비동기 프로그래밍을 이해하며 시작하기 (0) | 2023.08.22 |
spring web project 기본설정 (0) | 2020.04.15 |
spring 게시판에 사용할 table 만들기(oracle) (0) | 2020.04.15 |
spring으로 maven project 빌드하기(war) (0) | 2020.03.31 |