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