프로젝트 생성
Generator : springBoot
Language: Java
Type : Gradle-Groovy
Dependencies
- Spring Boot DevTools
- Spring Web
- Thymeleaf : java 와 html 연결할 때 필요
프로젝트 경로
- java
Application 건드리지 않음
- resources
application.properties : 설정 정보 : db 연결 정보들
static : 정적 파일(html,css,img 등) -> index.html 실행 시 첫 페이지
templates: index외 html파일들 - view resolver가 templates부터 찾음
메인 메소드 실행
localhost:8080 : 톰캣 기본 서버