Notice
Recent Posts
Recent Comments
Link
웁스교교주의 이야기
[spring boot] WebSecurityConfigurerAdapter 에러 본문
spring boot에서 security 에서 WebSecurityConfigurerAdapter 설정시
Error creating bean with name 'defaultServletHandlerMapping' defined in class path resource
에러가 발생한다.
왜 필터체인을 못 찾는지 정확한 이유는 아직 못 찾았다.
일단 대신 GlobalMethodSecurityConfiguration 에
WebSecurityConfigurerAdapter의 설정을 해주면 이상없이 작동한다.
WebSecurityConfigurerAdapter와 GlobalMethodSecurityConfiguration 관계를 좀 알아봐야겠다.
'개발 > Spring' 카테고리의 다른 글
[spring] [Security] 스프링 시큐리티 세션정책 정리 (0) | 2022.03.02 |
---|---|
spring 구동시 profile 옵션 주기 (0) | 2018.06.14 |
[spirngboot] characterEncodingFilter->OrderedCharacterEncodingFilter 변경 (0) | 2017.03.24 |
[spring boot] @RequestBody application/x-www-form-urlencoded 처리 (1) | 2017.03.22 |
grade bootrun profile 설정 (0) | 2017.03.21 |