Notice
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- HashMap
- Spring Boot
- @FunctionalInterface
- list
- spring MVC
- traceasynccustomautoconfiguration
- ResponseBody
- java list
- Sleuth
- spring
- EnableWebMvc
- aws secretmanager
- micrometer tracing
- jpa
- SpringMVC
- CompletableFuture
- map
- elasticsearch
- Spring JPA
- awssecretsmanagerpropertysources
- asyncconfigurer
- traceId
- grpc
- java lambda
- asynccustomautoconfiguration
- DeferredImportSelector
- kotlin
- wire type
- java.util.list
- java
Archives
- Today
- Total
목록Jackson (1)
du.study기록공간

저번 글에서 ResponseBody응답으로 간단한 Spring타입에 대해서 리턴받는 방식을 기록한 적이 있습니다. (해당글은 여기에 :https://duooo-story.tistory.com/9) 이번에는 일반적으로 사용되는 Object를 json형태로 return 받는 방식에 대해서 살펴보려 합니다. @RequestMapping("/jackson") @ResponseBody public TestDomain helloObject() { // 뭔가를 받아와서 도메인을 만들었다 가정하고.. TestDomain tobj = new TestDomain("du",10); return tobj; } 만약 @EnableWebMvc ,WebMvcConfigurer등에대한 기본 설정만 한 상태라면 다음과 같은 에러를 맞..
스프링
2019. 11. 10. 23:30