Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java 8 date/time type java.time.ZonedDateTime not supported by default: add Module "com.fasterxml.jackson.datatype:jackson-datatype-jsr310" to enable handling #995

Open
Qoooooooooooo opened this issue Jan 24, 2024 · 7 comments
Labels
good first issue Good for newcomers kind/bug Something isn't working

Comments

@Qoooooooooooo
Copy link

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

@Qoooooooooooo Qoooooooooooo added the kind/bug Something isn't working label Jan 24, 2024
@Qoooooooooooo
Copy link
Author

how to enable jackson-datatype-jsr310 in dapr

@artursouza artursouza added the good first issue Good for newcomers label Feb 14, 2024
@artursouza
Copy link
Member

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.

@Qoooooooooooo
Copy link
Author

This issue still exists after adding dependencies to pom.xml

@artursouza
Copy link
Member

OK. I accept a PR fixing this.

@BrayanMnz
Copy link

Do we have a sample project to replicate this? @Qoooooooooooo @artursouza

@Shubhdeep02
Copy link

Hey @artursouza is it still considered as good-first-issue?

@mcruzdev mcruzdev mentioned this issue Jul 2, 2024
3 tasks
@mcruzdev
Copy link

mcruzdev commented Jul 2, 2024

I opened a draft pull request but must test it correctly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants