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

Running Application gives error with version 4.17.0 #314

Open
SagarPrajapati2101 opened this issue May 17, 2022 · 3 comments
Open

Running Application gives error with version 4.17.0 #314

SagarPrajapati2101 opened this issue May 17, 2022 · 3 comments

Comments

@SagarPrajapati2101
Copy link

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.

issue.txt

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.

@rdemarco-xero
Copy link
Contributor

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().

@SagarPrajapati2101
Copy link
Author

SagarPrajapati2101 commented May 18, 2022

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

Code snippet.txt

@rdemarco-xero
Copy link
Contributor

rdemarco-xero commented May 18, 2022

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.
image

Can you check your Spring dependencies on Jackson? You may need to modify your pom.xml based on the stackoverflow post.

sangeet-joy-tw pushed a commit that referenced this issue Sep 10, 2024
## What's Changed
* New optional property got added to the `EmployeeLeaveType` DTO for `scheduleOfAccrualDate`.
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