Java 8 date/time type `java.time.ZonedDateTime` not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling
version 1.10.0
When use daprClient.invokeMethod and the dto includes ZonedDateTime、LocalDateTime.
error:
Java 8 date/time type java.time.ZonedDateTime not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling
how to enable jackson-datatype-jsr310 in dapr
The fix might be to simply add the dependency directly on your app's pom.xml. We need someone to repro this and verify it is enough.
This issue still exists after adding dependencies to pom.xml
OK. I accept a PR fixing this.
Do we have a sample project to replicate this? @Qoooooooooooo @artursouza