@j2ss20024315
Số lượng đánh giá đã viết
-
Xếp hạng trung bình
Hỏi & Đáp
/h2-console 403 에러
@Bean public WebSecurityCustomizer webSecurityCustomizer() { return (web) -> web.ignoring() .requestMatchers(new AntPathRequestMatcher("/h2-console/**")) .requestMatchers(new AntPathRequestMatcher("/favicon.ico")); }이렇게 작성하면 잘 동작합니다!