사용할 생성자 위에 @Autowired 지정 setting.xml 파일에서 namespace에 context 추가
<context:annotation-config />
추가
@Qualifier("exam1") -> 클래스가 같은 bean의 id 탐색