Running Application gives error with version 4.17.0
SagarPrajapati2101 opened this issue · 3 comments
I was using xero-java version 4.10.0 which is working fine on me.
But when I change it to 4.17.0 because we required newly added taxes it will give me error at time of running my application.
Can you please tell that why it's happening ?
if it's any dependency issue then can you please tell that as well ?
with version 4.10.0 it's working fine.
Hi @SagarPrajapati2101 , the Jackson2 dependency has been deprecated and replaced with GSON. Replace the current JacksonFactory() usage in the AuthorizationCodeFlow.Builder and RefreshTokenRequest with GsonFactory().
Hi @rdemarco-xero I check with the given changes but still gives me same error. Can you share the full Code of this ??
Also, tell me any other changes required or not.
I also share the code snippet with you which I change as per your suggestion
Hi @SagarPrajapati2101 , it appears this error could be caused by clashing versions of jackson.
The latest release upreved the jackson-databind and jackson-core versions.
Can you check your Spring dependencies on Jackson? You may need to modify your pom.xml based on the stackoverflow post.