250x250
Notice
Recent Posts
Recent Comments
| 일 | 월 | 화 | 수 | 목 | 금 | 토 |
|---|---|---|---|---|---|---|
| 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 |
Tags
- SpringBoot
- jpa
- AJAX
- Exception
- spring
- ubuntu
- PostgreSQL
- oracle
- Thymeleaf
- MySQL
- 문서
- Tomcat
- JavaScript
- Core Java
- Open Source
- STS
- 설정
- error
- maven
- IntelliJ
- JDBC
- Spring Boot
- 오픈소스
- Python
- Eclipse
- git
- MSSQL
- myBatis
- Source
- Docker
Archives
- Today
- Total
목록HttpClientErrorException (1)
헤르메스 LIFE
[Spring Boot] Spring Resttemplate 예외 처리
LOCAL_SAVE_URL 에서 오류가 발생하면 4xx번, 5xx번대 오류가 넘어옵니다. try { ResponseEntity response = restTemplate.postForEntity( LOCAL_SAVE_URL, entity, String.class ); logger.debug( "response :: {}", response ); logger.debug( "result :: {}", response.getStatusCodeValue() ); logger.debug( "result :: {}", response.getBody() ); //logger.debug( "result :: {}", (List) response.getBody().get( "list" ) ); } catch ( Http..
Spring Boot Framework
2021. 1. 31. 16:16