摘要: 使用注释添加对context声明,自动扫描 <context:component-scan base-package="service,dao"/> @Component("xx") == <bean id ="xx" class=""/> @Repository DAO类标注 @Service 业 阅读全文
posted @ 2017-09-21 10:08 蕉叶 阅读(131) 评论(0) 推荐(0) 编辑