1.导入jar包
2.在src下导入applicationContext.xml配置文件
3.创建接口和实现类
4.编写配置文件
5.创建测试类
Spring入门代码
原文:https://www.cnblogs.com/yz-bky/p/12576621.html