필터는 Spring 외부 영역에 있다. 다른 클래스와 다르게 외부 생성자를 @Autowired 통해서 바로 갖고 올수없고 Bean 에 등록된 것만 갖고 올수있다. root-context.xml 에서 이런식으로 있는 bean 을 추가하여 filter 클래스에서 @Override public void init(FilterConfig filterConfig) throws ServletException { ServletContext servletContext = filterConfig.getServletContext(); WebApplicationContext ctx = WebApplicationContextUtils.getWebApplicationContext(servle..