question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

cannot find symbol method parserBuilder

See original GitHub issue

This code:

import io.jsonwebtoken.JwtParser;
import io.jsonwebtoken.Jwts;
...

JwtParser parser = Jwts.parserBuilder().build();

gives me this error:

cannot find symbol
[error]   symbol:   method parserBuilder()
[error]   location: class io.jsonwebtoken.Jwts
[error]     parser = Jwts.parserBuilder().build();

I am running version 0.11.2. ( double checked)

What am I missing?

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
realjaxcommented, Nov 25, 2021

Nope 😊 On 25 nov. 2021 14:31 +0100, Brian Demers @.***>, wrote:

Were the new exceptions JJWT related? —You are receiving this because you were mentioned.Reply to this email directly, view it on GitHub, or unsubscribe.Triage notifications on the go with GitHub Mobile for iOS or Android.

0reactions
bdemerscommented, Nov 25, 2021

Were the new exceptions JJWT related?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Broken dependency for Flow9 project: cannot find symbol Jwts ...
Hi there. I am experiencing some oddities with your library (v 0.10.8) , while trying to build Java packages of Flow9 project: ...
Read more >
Spring Boot - Jwts.builder Cannot resolve method 'signWith()
If I hover over the error it says: Cannot resolve method 'signWith(java.security.PrivateKey)'. @Service public class JwtUtilTwo { private ...
Read more >
How to Resolve The Cannot Find Symbol Error in Java - Rollbar
The cannot find symbol error refers to a situation where the Java compiler is unable to find the symbol associated with a given...
Read more >
opencsv / Support Requests / #58 read only the first line - SourceForge
and in the CSVReader 'cannot find symbol method withSkipLines(1)'. The Version we use is the opencsv-4.2.jar. Whats wrong there?
Read more >
What Causes “Cannot find symbol” Compilation Error in Java?
Java Cannot find symbol error is a commonly occurring error in the Java compilation process. Find out its causes and ways to resolve...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found