목록Backend/Spring (17)
elevne's Study Note

오늘은 Spring framework에서 MyBatis를 사용하는 법에 대해서 다시 한 번 정리해보았다. 우선 Spring Initializr에서 다음과 같은 dependency 들을 추가해준다. build.gradle 파일에서 의존성 관련 부분을 확인해보면 아래와 같이 적혀있을 것이다. dependencies { implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.mybatis.spring.boot:mybatis-spring-boot-starter:2.2.2' compileO..
Backend/Spring
2022. 11. 16. 20:45