本文共 336 字,大约阅读时间需要 1 分钟。
1.1.1Spring的IOC的注解开发的入门
1.1.2创建一个web工程 1.1.3引入jar包 Spring3.X 版本: 4个core+ 2个日志记录jar包: 注解的内容直接在核心包当中:Spring4.X版本: 除了核心包, 还需要引入aop的包:
4个core + 2个日志记录jar包: + Aop的jar包: 1.1.4引入spring的配置文件 在src下创建一个applicationContext.xml引入约束:使用注解开发, 需要引入一个context约束。
约束:\spring-framework-4.2.4.RELEASE\docs\spring-framework-reference\html\
转载地址:http://wzqen.baihongyu.com/