一、设置pom文件 二、实现步骤 1、创建maven项目 2、加入maven的依赖 spring的依赖,版本5.2.5版本 junit依赖 3、创建类(接口和他的实现类) 和没有用使用框架一样,就是普通的类