| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
- springboot mybatis
- java
- springboot예외처리
- 백엔드개발
- SpringKafka
- mybatis
- springboot
- ApacheFlink
- KafkaFlink
- 실시간데이터처리
- KafkaProducer
- 시스템설정
- Spring
- 405MethodNotAllowed
- SpringBoot에러
- RestControllerAdvice
- java17
- SQL
- ApacheKafka
- SpringBootKafka
- HttpRequestMethodNotSupportedException
- ControllerAdvice
- springboot jwt
- 400badrequest
- mapper
- VUE
- ios
- SpringBoot Security
- 맥북
- RequestMethodNotSupported
- Today
- Total
목록전체 글 (144)
생활기록부
Spring Boot PUT, DELETE 405 Method Not Allowed 해결 - 요청이 지원되지 않는 원인 정리Spring Boot로 REST API를 개발하다 보면 GET, POST는 잘 동작하는데 PUT이나 DELETE 요청에서만 다음과 같은 오류가 발생하는 경우가 있습니다.405 Method Not Allowed또는 서버 로그에서:org.springframework.web.HttpRequestMethodNotSupportedException:Request method 'PUT' is not supported혹은:Request method 'DELETE' is not supported와 같은 메시지를 볼 수 있습니다.이 오류는 보통 요청 URL은 맞지만 해당 HTTP Method를 처리하..
Request method 'POST' is not supported 해결 - @GetMapping, @PostMapping 확인 방법Spring Boot로 API를 개발하다 보면 다음과 같은 오류를 만날 수 있습니다.Request method 'POST' is not supported로그에서는 다음 예외가 함께 나타날 수 있습니다.org.springframework.web.HttpRequestMethodNotSupportedException이 오류는 대부분 Controller는 POST 요청을 처리하지 않는데 실제 요청이 POST로 들어왔을 때 발생합니다.예를 들어 Controller가 다음과 같다고 가정해보겠습니다.@GetMapping("/api/orders")public String getOrder..
Request method 'GET' is not supported 해결 - 브라우저에서 POST API 호출할 때 발생하는 이유Spring Boot로 API를 개발하다 보면 다음과 같은 오류를 만날 수 있습니다.Request method 'GET' is not supported로그에서는 다음 예외가 함께 보일 수 있습니다.org.springframework.web.HttpRequestMethodNotSupportedException이 오류는 보통 Controller는 POST 요청만 받도록 만들어져 있는데 실제 요청이 GET으로 들어왔을 때 발생합니다.특히 POST API 주소를 브라우저 주소창에 직접 입력했을 때 자주 볼 수 있습니다.예를 들어 Controller가 다음과 같다고 가정해보겠습니다.@P..
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의 핵..
