_Spring_ interceptor NullpointerException 발생, 의존성 문제
스프링으로 로그인 권한을 인터셉터로 구현하는 중 NullPointerException이 발생했다. 기존에 인터셉터를 Configuration에 등록할 때 addInterceptors를 Override 하는 과정에서 @Override public void addInterceptors(InterceptorRegistry registry) { registry.addInterceptor(new BlogInterceptor()).order(1).addPathPatterns("/**").excludePathPatterns("/css/**", "/js/**", "/", "/member/**", "/login", "/logout", "/*.ico", "/error", "/api/item/*", "/error/**", ..
2022. 2. 4.