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

Review usage of the XMLGregorianCalendarAdapter in java above 8 #60

Closed
zubri opened this issue Aug 25, 2022 · 1 comment
Closed

Review usage of the XMLGregorianCalendarAdapter in java above 8 #60

zubri opened this issue Aug 25, 2022 · 1 comment
Assignees

Comments

@zubri
Copy link
Member

zubri commented Aug 25, 2022

https://stackoverflow.com/questions/71489410/prowide-library-exception-while-processing-iso-20022-messages-with-dates/71506567?noredirect=1#comment129756874_71506567

We do have a custom Json serializer for the XMLGregorianCalendar and we configure it in the Gson calls. However, according to the post, Gson is not picking it up in the toJson serialization.

@ptorres-prowide
Copy link
Contributor

You´ll need to add the following deps in order to build the project under Java 11:

implementation 'javax.xml.bind:jaxb-api:2.3.1'
implementation 'com.sun.xml.bind:jaxb-impl:2.3.3'

Regards

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