Replace new DefaultClaims(..) with Jwts.claims(..)
ProprietaryReplaces new DefaultClaims() and new DefaultClaims(map), which JJWT 0.10 moved to the runtime-only jjwt-impl jar, with Jwts.claims() and Jwts.claims(map).
org. openrewrite. java. security. jjwt. ReplaceDefaultClaimsmod run . --recipe= org. openrewrite. java. security. jjwt. ReplaceDefaultClaimsInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.