sitelink1 | https://inf.run/13oM |
---|---|
sitelink2 | |
sitelink3 | |
extra_vars6 |
1. 환경 정보
> 스프링부트 2.5.7
> 자바 11
> https://github.com/codingspecialist/-Springboot-Security-OAuth2.0-V3
2. STS 다운로드
> google 에서 "sts download" 로 검색 또는 https://spring.io/tools 로 접속
> Spring Tools 4 for Eclipse 에서 os 선택하여 다운로드
> jar 압축 해제
> contents.zip 압축 해제
> sts-4.13.1.RELEASE/SpringToolSuite4.exe 가 실행파일
3. 환경설정(실습은 아직...)
> 샘플 예제 프로젝트 다운로드 : https://github.com/codingspecialist?tab=repositories
> project explorer 에서 "New>Spring Starter Project"
> "New Spring Starter Project Dependencies" (프로젝트를 생성한 후에 추가하려면 "demo\build.gradle" 파일에 dependencies 를 추가해주면 된다)
- Spring Boot DevTools
- Lombok
- Spring Data JPA
- MySQL Driver
- Spring Security
- Mustache
- Spring Web
> "https://github.com/codingspecialist/Sringboot-Security-Basic-V1/blob/master/src/main/resources/application.yml" 의 내용 복사
- demo\src\main\resources\application.yml 파일을 생성하여 복사한 내용을 삽입
- 내용에서 "ddl-auto: update" 를 "ddl-auto: create" 로 변경