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

JSR310 module is deprecated and i cant register JavaTimeModule #12

Open
saurabhpro opened this issue Jun 27, 2020 · 3 comments
Open

JSR310 module is deprecated and i cant register JavaTimeModule #12

saurabhpro opened this issue Jun 27, 2020 · 3 comments

Comments

@saurabhpro
Copy link

this is not working modelMapper.registerModule(new JavaTimeModule());

@internetstaff
Copy link

Are you confusing this with Jackson's Jsr310Module and JavaTimeModule?

@saurabhpro
Copy link
Author

What do you mean?

what i observed is that if i try to register Jsr310Module - i get deprecated error and when i try registering JavaTimeModule - its not allowed

so how do i register my DateTimeModule ?

@internetstaff
Copy link

Are you sure you're importing the modelmapper Jsr310Module or are you accidentally importing Jackson's Jsr310Module, which is deprecated.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants