title: ReadOnlyJWTClaimsSet cannot be resolved to a type
body: <p>I am following this <a href="http://massimilianosciacco.com/spring-security-jwt-authentication" rel="nofollow">article</a> to implement token authentication. Nimbus was added as a dependency in my pom.</p>
  
  <pre><code>&lt;dependency&gt;
      &lt;groupId&gt;com.nimbusds&lt;/groupId&gt;
      &lt;artifactId&gt;nimbus-jose-jwt&lt;/artifactId&gt;
      &lt;version&gt;4.16.2&lt;/version&gt;
  &lt;/dependency&gt;
  </code></pre>
  
  <p>All the JWT stuff was recognized except ReadOnlyJWTClaimsSet. Based on this  <a href="http://static.javadoc.io/com.nimbusds/nimbus-jose-jwt/2.21/com/nimbusds/jwt/class-use/ReadOnlyJWTClaimsSet.html" rel="nofollow">link</a>, it should be under <code>com.nimbusds.jwt.ReadOnlyJWTClaimsSet</code>. Why can't it be resolved?</p>