AnnotationConfigApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class); //스프링 생성방법이렇게는 오류가 안뜨는데
ApplicationContext applicationContext = new AnnotationConfigApplicationContext(AppConfig.class); //스프링 생성방법강의에서 처럼 ApplicationContext로 객체를 만들면 오류가 납니다