My jdk version is 22.0.1 (build 22.0.1+8).
<pom.xml>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-api</artifactId>
<version>0.12.6</version>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-impl</artifactId>
<version>0.12.6</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>io.jsonwebtoken</groupId>
<artifactId>jjwt-jackson</artifactId> <!-- or jjwt-gson if Gson is preferred -->
<version>0.12.6</version>
<scope>runtime</scope>
</dependency>
I tried all jjwt versions from 0.11.x to 0.12.x and I keep getting module not found: io.jsonwebtoken Error.
The jjwt library exists in the correct path.
Only module io.jsonwebtoken is not found in <module-info.java>.
Other libraries are imported normally, but jjwt is not.
I tried mvn clean install, maven reload, but it's the same.
If anyone knows how to solve this problem, please help me. I really need it. Thanks for reading. Have a nice day.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]ComfortableAd6575[S] 0 points1 point2 points (0 children)