package com.ssm.di.annotation; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Configuration; @Configuration @ComponentScan(basePackages = "com.ssm.di.annotation") public class SpringConfig { }