Upgrade Jackson 2 => Jackson 3

Open
#730 5 comments 16 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
45/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Stale
Tech stack
java
Domain
backend

Research direction

Start with the Jackson dependency declaration, then inspect the stack-trace entry points in JWTCreator.java:39 and JWT.java:72. Check the existing test coverage before migrating versions; done means the project builds and tests pass without the reported NoClassDefFoundError.

Written by the indexing model from the issue text.

Description

feature request
Checklist
  • I have looked into the Readme and Examples, and have not found a suitable solution or answer.
  • I have looked into the API documentation and have not found a suitable solution or answer.
  • I have searched the issues and have not found a suitable solution or answer.
  • I have searched the Auth0 Community forums and have not found a suitable solution or answer.
  • I agree to the terms within the Auth0 Code of Conduct.
Describe the problem you'd like to have solved

Hi,

Please upgrade Jackson 2 dependency to Jackson 3 version.

Regards,

Describe the ideal solution

Use latest Jackson 3 version to avoid NDF.

com/fasterxml/jackson/databind/json/JsonMapper 
java.lang.NoClassDefFoundError: com/fasterxml/jackson/databind/json/JsonMapper  
	at com.auth0.jwt.JWTCreator.<clinit>(JWTCreator.java:39)  
	at com.auth0.jwt.JWT.create(JWT.java:72)  
Alternatives and current workarounds

No response

Additional context

No response

Dominant language
Java
Stars
6.2k
Forks
945
Avg merge
2d 15h
Merged PRs (30d)
4

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from auth0/java-jwt

All issues in auth0/java-jwt

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.