spring开启注解配置 配置了包扫描,就可以加注解了<context:component-scan base-package="com.itheima.crm.service" />扫描子包和子孙包 一般ssh注解用得少,ssm注解用得多