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