0

Which maven dependency in my pom.xml should I add to resolve these errors: -SignatureException cannot be resolved to a type -ExpiredJwtException cannot be resolved to a type -UnsupportedJwtException cannot be resolved to a type

alia
  • 163
  • 3
  • 12

1 Answers1

3

I have resolved this issue by adding these dependencies on my pom.xml:

<dependency>
            <groupId>io.jsonwebtoken</groupId>
            <artifactId>jjwt-api</artifactId>
            <version>0.11.5</version>
        </dependency>
        <dependency>
            <groupId>io.jsonwebtoken</groupId>
            <artifactId>jjwt-impl</artifactId>
            <version>0.11.5</version>
        </dependency>
        <dependency>
            <groupId>io.jsonwebtoken</groupId>
            <artifactId>jjwt-jackson</artifactId>
            <version>0.11.5</version>
      </dependency>
alia
  • 163
  • 3
  • 12