spring注解怎么使用

如题所述

spring注解

1.准备工作
(1)导入common-annotations.jar
(2)导入schema文件 文件名为spring-context-2.5.xsd
(3)在xml的beans节点中配置

2.xml配置工作
温馨提示:答案为网友推荐,仅供参考