Spring httpmessagenotwritableexception :No converter found for return value of type ์๋ฌ ํด๊ฒฐ ๋ฐฉ๋ฒ
2021. 11. 29. 17:41ใSpring
728x90
Jackson ๋ผ์ด๋ธ๋ฌ๋ฆฌ๋ฅผ ์ค์นํ๊ณ RESTful ์ฌ์ฉ์ ๊ด๋ฆฌ ํ๋ก์ ํธ๋ฅผ ํ ์คํธํ๋๋ฐ
httpmessagenotwritableexception ์ด ์๋ฌ๊ฐ ๋ฐ์ํ๋ค.
๊ตฌ๊ธ๋ง ํด๋ณธ ๊ฒฐ๊ณผ
dependency์ jackson-databind ์ jackson core๋ฅผ ์ถ๊ฐํ๋ผ๊ณ ํด์
ํ๋ฒ ํด๋ดค๋๋ ์๋ฌ ํด๊ฒฐ ๋๋ค!!
1๏ธโฃ Jackson core
https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-core
2๏ธโฃ JackSon databind
https://mvnrepository.com/artifact/com.fasterxml.jackson.core/jackson-databind
728x90
'Spring' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Spring RESTful ์ฌ์ฉ์ ๊ด๋ฆฌ ๊ฒ์ํ (0) | 2021.11.30 |
---|---|
Spring Ajax, jQuery (0) | 2021.11.30 |
Spring RESTful ์ฌ์ฉ์ ๊ด๋ฆฌ ํ๋ก์ ํธ (@RequestBody, @ResponseBody, GET, POST, PUT, DELETE, Postman ์ค์น ๋ฐ ํ ์คํธ ) (0) | 2021.11.29 |
Spring REST, RESTful API, XML, JSON , Jackson ๋ผ์ด๋ธ๋ฌ๋ฆฌ ์ค์น (0) | 2021.11.29 |
Spring MVC ๊ฐ๋จํ ๊ฒ์ํ ๋ง๋ค๊ธฐ (0) | 2021.11.29 |