Spring入门代码

1.导入jar包

  

2.在src下导入applicationContext.xml配置文件

  

3.创建接口和实现类

  

4.编写配置文件

  

5.创建测试类

  

posted @ 2020-03-26 19:09  拯代码  阅读(161)  评论(0编辑  收藏  举报