[Spring Security] Spring Security 500 error page ( "status" : 999 )

김나우·2022년 4월 24일
0
/**
      * 인증을 무시할 경로를 설정해준다.
      * static 하위 폴더는 무조건 접근이 가능해야하기 때문에 인증을 무시하게 해 주었다.
      */
    @Override
    public void configure(WebSecurity web) throws Exception {
        web
                .ignoring().antMatchers("/assets/**", "/css/**", "/dist/**", "/js/**", "/plugins/**",
                "/favicon.ico", "/resources/**", "/error");
        //"/favicon.ico", "/resources/**", "/error" 붙혀서 오류 해결
    }

스프링 시큐리티 설정 중 /favicon.ico를 해주지 않아 발생 했었음.

profile
안녕하세요

0개의 댓글