| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 1 | 2 | 3 | 4 | 5 | 6 | |
| 7 | 8 | 9 | 10 | 11 | 12 | 13 |
| 14 | 15 | 16 | 17 | 18 | 19 | 20 |
| 21 | 22 | 23 | 24 | 25 | 26 | 27 |
| 28 | 29 | 30 |
Tags
- AWS
- self-hosted runners
- Spring Security
- github
- 14889
- Session Registry
- ConcurrentSessionControlAuthenticationStrategy
- RestControllerAdvice
- 14891
- 1260
- 1916
- amazon-ecr-login
- 12100
- HttpRequestMethodNotSupportedException
- Spring Authorization Server
- tailsamplingprocessor
- aws-mysql-jdbc
- openTelemetry
- Java
- 백준
- RequiredArgsConstructor
- SpringCloudConfig
- github actions
- 17144
- 자바
- Spring
- 15686
- Session Fixation Protection
- Value annotation
- 프로그래머스
Archives
- Today
- Total
목록HttpRequestMethodNotSupportedException (1)
한울이
회사에서 업무를 하다가 HttpRequestMethodNotSupportedException 에 대한 처리를 해야 하는 상황이 생겨서RestControllerAdvice를 사용하여 exception을 handling 하고 있는 곳에 추가해서 처리하려고 했다. 예시 그런데 내가 정의한 ExceptionHandler 에서 exception이 처리되지않고DefaultHandlerExceptionResolver에서 exception이 처리되었다. 알고 보니 basePackageClasses = BaseController.class 부분이 문제였다. 참조 https://stackoverflow.com/questions/56459170/spring-controlleradvice-fail-to-override-han..
PROGRAMMING
2022. 8. 21. 20:01