NoSuchBeanDefinitionException: No qualifying bean of type
@Configuration // 설정정보
@ComponentScan(
// 애노테이션 붙은 걸 찾아 다 스프링 빈에 등록해줌
// 그 중에 스프링 빈에 등록 안할 거 설정
basePackages = "hello.core.member", // 멤버만 컴포넌트 스캔이 됨
excludeFilters = @ComponentScan.Filter(type = FilterType.ANNOTATION, classes = Configuration.class))
public class AutoAppConfig {
...
}
basePackages = “hello.core” 로 바꿔 컴포넌트 스캔 대상을 넓혀준다.