| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 | 31 |
- VUE
- java
- SpringKafka
- 400badrequest
- 시스템설정
- RestControllerAdvice
- 백엔드개발
- SpringBoot Security
- 맥북
- 405MethodNotAllowed
- springboot예외처리
- ApacheKafka
- mapper
- SpringBootKafka
- Spring
- ControllerAdvice
- SQL
- ApacheFlink
- KafkaProducer
- SpringBoot에러
- springboot mybatis
- KafkaFlink
- mybatis
- HttpRequestMethodNotSupportedException
- 실시간데이터처리
- java17
- springboot jwt
- ios
- springboot
- RequestMethodNotSupported
- Today
- Total
목록전체 글 (141)
생활기록부
Spring Boot 405 Method Not Allowed 원인과 해결 방법 총정리Spring Boot로 REST API를 개발하다 보면 다음과 같은 오류를 만날 수 있습니다.405 Method Not Allowed서버 로그에서는 다음과 같은 메시지가 함께 나타나기도 합니다.org.springframework.web.HttpRequestMethodNotSupportedException:Request method 'POST' is not supported또는:Request method 'GET' is not supported처음 이 오류를 만나면 URL이 잘못된 것인지, Controller가 잘못된 것인지, 요청 데이터가 문제인지 헷갈릴 수 있습니다.하지만 405 Method Not Allowed의 핵..
Spring Boot HttpRequestMethodNotSupportedException 해결 - Request method 'POST' not supported 원인과 405 처리Spring Boot로 REST API를 개발하다 보면 다음과 같은 오류를 만날 수 있습니다.org.springframework.web.HttpRequestMethodNotSupportedException:Request method 'POST' is not supported또는:Request method 'GET' is not supported이 오류는 요청 URL 자체는 존재하지만, 해당 URL에서 현재 요청한 HTTP Method를 지원하지 않을 때 발생합니다.예를 들어 Controller가 다음과 같이 작성되어 있다고 ..
Spring Boot 400 Bad Request 원인 총정리 - 자주 발생하는 오류 7가지와 해결 방법Spring Boot로 REST API를 개발하다 보면 다음 응답을 자주 만나게 됩니다.400 Bad Request문제는 400 Bad Request라는 결과만 봐서는 정확히 무엇이 잘못되었는지 바로 알기 어렵다는 점입니다.같은 400 오류라도 원인은 다양할 수 있습니다.예를 들어:@RequestParam 누락숫자 타입 변환 실패Enum 값 오류@Valid 검증 실패JSON 형식 오류날짜 형식 오류비즈니스 요청값 오류가 모두 400 응답으로 이어질 수 있습니다.그래서 Spring Boot에서 400 오류가 발생했을 때는 HTTP Status만 보는 것이 아니라 실제 발생한 Exception 종류를 확인..
Spring Boot Required request parameter 오류 해결 - @RequestParam 필수값 누락과 400 처리Spring Boot로 API를 개발하다 보면 다음과 같은 오류 메시지를 만날 수 있습니다.Required request parameter 'status' for method parameter type String is not present또는 비슷하게:Required request parameter 'id' for method parameter type Long is not present이 오류는 이름 그대로 필수 Request Parameter가 요청에 포함되지 않았을 때 발생합니다.예를 들어 Controller가 다음과 같다고 가정해보겠습니다.@GetMapping("..
