728x90
반응형
▶ Maven pom.xml 설정
pom.xml 설정입니다.
springboot 와 thymeleaf dependency를 추가해 줍니다
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>3.1.6</version>
</parent>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<dependency>
<groupId>org.apache.tomcat.embed</groupId>
<artifactId>tomcat-embed-jasper</artifactId>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-thymeleaf</artifactId>
</dependency>
</dependencies>
▶ View 설정을 위한 application.yml 설정
728x90
반응형
'공부 > SpringFramework' 카테고리의 다른 글
[SpringBoot] 스프링부트를 사용해서 웹 서버 기본 틀 만들기 (0) | 2021.04.21 |
---|