Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- linearlaout
- quickconnect
- java.net.bindexception
- windows terminal
- MFC
- formatting failed
- git
- audio station버그
- synology
- setonkeylistener
- urllib3
- IntelliJ
- c++
- SSL 인증서가 변경되었습니다
- Linux
- 라즈베리파이
- truncated
- Eclipse
- cloud station
- ds cloud
- clp 325wk
- SetWindowTextW
- Wraith Spire
- 주석 숨김
- github
- cloudstation
- JSON
- 장치 데이터 오류
- 이클립스 주석
- 시놀로지 색인
Archives
- Today
- Total
목록spring (1)
딸기스무디
[Spring] "java.util.LinkedHashMap cannot be cast to Class" 해결
아래 처럼 클래스의 멤버변수로 다른 클래스가 선언되는 상황에서 @RequestBody annotation을 사용한다고 가정해보자 // pojo class data_A { private String field1; private String field2; private data_B data_b; } class data_B{ private String field1; } //JSON { "field1" : "A12", "field1" : "A13", "data_b" : { "field1" : "ab11" } } // Controller @GetMapping(value = "/api/user") public external_message get_userid_from_telegramid(@RequestBody da..
Java
2022. 6. 6. 14:00