๐Ÿ’ป Programming/Spring Boot

๐Ÿ’ป Programming/Spring Boot

[Spring Boot] 3.4 ๋“ฑ๋ก/์ˆ˜์ •/์กฐํšŒ API ๋งŒ๋“ค๊ธฐ ์˜ค๋ฅ˜: org.springframework.web.client.RestClientException: Error while extracting response for type [class java.lang.Long] and content type [application/json;charset=UTF-8]

UPDATE ํ…Œ์ŠคํŠธ๋ฅผ ํ•˜๋Š” ์ค‘์— ์˜ค๋ฅ˜๊ฐ€ ๋‚ฌ๋‹ค ํ•ด๊ฒฐ๋ฐฉ๋ฒ•: ์˜คํƒ€ ์ˆ˜์ • @PutMapping("/api/v1/posts/{id}") v1์„ vi๋ผ๊ณ  ์˜คํƒ€๋ƒˆ๋‹ค ์˜คํƒ€ ์˜ค๋ฅ˜์˜€์Œ ๋จธ์“ฑํƒ€๋“œ ํ•ญ์ƒ ์˜ค๋ฅ˜๊ฐ€ ๋‚˜๋ฉด ์˜คํƒ€๋จผ์ € ํ™•์ธํ•ด๋ณด์ž! ํ…Œ์ŠคํŠธ ์„ฑ๊ณต - ์ฐธ๊ณ  ์‚ฌ์ดํŠธ https://github.com/jojoldu/freelec-springboot2-webservice/issues/174 [์‹ค์Šต๋ฌธ์˜] 110p.PostApiControllerTest ๋“ฑ๋ก ํ…Œ์ŠคํŠธ · Issue #174 · jojoldu/freelec-springboot2-webservice ๊ธฐ์กด์— ์˜ฌ๋ผ์˜จ ์งˆ๋ฌธ์ด ์•„๋‹Œ์ง€ ๋จผ์ € ๊ฒ€์ƒ‰ํ•ด์ฃผ์„ธ์š”! ์–ด๋–ค ์˜ค๋ฅ˜์ธ๊ฐ€์š”? ์˜ค๋ฅ˜์„ค๋ช…: 110p.PostApiControllerTest ๋“ฑ๋ก ํ…Œ์ŠคํŠธ ์‹คํŒจ ๋ฌธ์˜์ž…๋‹ˆ๋‹ค. ์ฒ˜์Œ ์˜ค๋ฅ˜๋ฅผ ํ™•์ธ ํ›„..

soozkim
'๐Ÿ’ป Programming/Spring Boot' ์นดํ…Œ๊ณ ๋ฆฌ์˜ ๊ธ€ ๋ชฉ๋ก