Tagged articles

JavaTimeModule

2 articles · Page 1 of 1
CodeNotes
CodeNotes
Jul 14, 2026 · Backend Development

4 Common @RequestBody Pitfalls That Can Crash Your Spring Apps

The article explains how @RequestBody binds JSON via HttpMessageConverter using Jackson, then details four frequent issues—empty bodies, extra or unknown fields, date‑format mismatches, and deep nesting causing circular serialization—and provides concrete code‑level solutions such as validation, global exception handling, Jackson configuration, and DTO usage.

DTOJacksonJavaTimeModule
0 likes · 10 min read
4 Common @RequestBody Pitfalls That Can Crash Your Spring Apps
Programmer DD
Programmer DD
Mar 13, 2018 · Backend Development

Why Feign Fails with LocalDate/LocalDateTime and How to Fix It

When a Spring Cloud Feign client sends a request containing Java 8 date/time types like LocalDate, LocalTime, or LocalDateTime, the response may trigger JSON parse errors because Spring MVC serializes them as arrays, but Feign expects a proper object, which can be resolved by adding Jackson's JSR‑310 module and configuring the ObjectMapper.

FeignJacksonJavaTimeModule
0 likes · 6 min read
Why Feign Fails with LocalDate/LocalDateTime and How to Fix It