1)mybatis 확인
The MyBatis Blog
A blog about the the MyBatis data mapper framework.
blog.mybatis.org

2)project 만들기


3)libraries 설정

4)pom.xml 설정




5)web.xml 설정

6)servlet-context.xml

7)root-context.xml

base-package = "kr.spring.board" -> "kr.spring.member"로 변경해야함
위 사진에서는 안바꿈
8)jdbc.properties 파일 생성


9)


10)sql테이블 생성


반응형
'IT > Java Spring' 카테고리의 다른 글
| ch08Mybatis - 03 (0) | 2020.06.19 |
|---|---|
| ch08Mybatis - 02 (0) | 2020.06.19 |
| Spring MVC 기본 게시판 예제 만들기 2부 어노테이션 - 0. 설정 (0) | 2020.06.19 |
| Spring MVC 기본 게시판 예제 만들기 - 6 (0) | 2020.06.19 |
| Spring MVC 기본 게시판 예제 만들기 - 5.삭제 (0) | 2020.06.18 |