If issue is in the mock mvc tests, then just register module to object mapper…
ObjectMapper o = new ObjectMapper(); o.registerModule(new JavaTimeModule());
Ideas and notes on software development…
If issue is in the mock mvc tests, then just register module to object mapper…
ObjectMapper o = new ObjectMapper(); o.registerModule(new JavaTimeModule());