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
- Core Java
- PostgreSQL
- Eclipse
- Tomcat
- myBatis
- JDBC
- STS
- Exception
- Open Source
- oracle
- ubuntu
- SpringBoot
- error
- Spring Boot
- git
- MSSQL
- AJAX
- jpa
- 오픈소스
- JavaScript
- Thymeleaf
- IntelliJ
- maven
- 설정
- 문서
- Source
- spring
- MySQL
- Docker
- Python
Archives
- Today
- Total
목록HttpStatusCodeException (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