Maven라이브러리
링크접속 - 원하는 라이브러리 검색 - 상세페이지 - 다운수가 많은 버전 선택 - Maven textarea 클릭 - 복사완료
<properties>
<!-- spring context, web, MVC는 세트로 같은 버전을 사용해야한다. -->
<org.springframework-version>5.3.23</org.springframework-version>
</properties>
<!-- dependencies 위치 -->
<dependencies>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-context -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${org.springframework-version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-web -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>${org.springframework-version}</version>
</dependency>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-webmvc -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${org.springframework-version}</version>
</dependency>
</dependencies>
https://standout.tistory.com/124
https://standout.tistory.com/123
'JAVA > Maven' 카테고리의 다른 글
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder" (0) | 2023.12.28 |
---|---|
Maven pom.xml update하기 (0) | 2023.11.01 |
java.lang.UnsupportedClassVersionError (0) | 2023.04.17 |
H2 database 드라이버 install (0) | 2023.04.02 |
org.junit.test 에러 (0) | 2023.03.23 |