1. @Configuration
    2. public class SpringConfig {
    3. //ssm整合之后,spring的配置信息写在此类中
    4. }