导入相关jar包
junit
mybatis
mysql数据库
spring 相关的
aop织入
mybatis-spring
2.编写核心配置文件
新建一个实体类
编写mybatis核心配置文件
编写接口
编写接口对应的xml文件
注册接口
3.测试