ContextResolver Not Working After Migrating from Jersey 1.x to 2.x
While updating my project from JDK 8 to 17, I found that jersey-server 1.19.2 is not compatible with JDK 17. Therefore, I tried updating it to 2.43 (if I go beyond 2.x, I’ll also have to update javax to jakarta). After migrating, I am getting a null value in ContextResolver. This was working fine with Java 8 and Jersey 1.