[스프링] 환경설정하기
2021. 10. 5. 16:17ㆍspring
eclipse.ini 파일에 -vm부분 추가(jdk 경로)
-startup
plugins/org.eclipse.equinox.launcher_1.3.100.v20150511-1540.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.300.v20150602-1417
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
--launcher.appendVmargs
-vm
C:\DEV\Java\jdk1.8.0_73\bin\javaw.exe
-vmargs
-Dosgi.requiredJavaVersion=1.7
-Xms512m
-Xmx1024m
Spring Tool Suite 설치
압축 해제 후 sts로 이름 바꾸고 sts.exe 설치
java 1.8로 변경하고 Runtimes 탭에서 톰캣 설정
src/main/resource에서 log4.xml 제외하고 모두 삭제
src/main/webapp/WEB-INF 아래에 있는 spring과 views 폴더도 삭제
src/main/webapp/W EB- INF/web.xml 파일을 열어서 (web- app) 루트 엘리 던트를 제외한 나머지 설정은 모두 삭제하고 저장
로 pom.xml 파일의 Spring 버전을 가장 최신 버전으로 번경한다. 3.1.1-> 4.2.4 버전으로 변경
'spring' 카테고리의 다른 글
[AOP] xml 기반 (0) | 2021.10.07 |
---|---|
[어노테이션] (0) | 2021.10.06 |
[의존성주입] Setter 인젝션 (0) | 2021.10.06 |
[의존성주입] 생성자 인젝션 (0) | 2021.10.06 |
[스프링] ApplicationContext 스프링 컨테이너 구동 (0) | 2021.10.06 |