Could not resolve io.jsonwebtoken:jjwt-api:0.9.1
See original GitHub issueI’m trying to use jjwt with spring boot and I used gradle like it’s said in the readme of this github like this :
dependencies {
api 'io.jsonwebtoken:jjwt-api:0.11.2'
runtimeOnly 'io.jsonwebtoken:jjwt-impl:0.11.2'
runtimeOnly('io.jsonwebtoken:jjwt-orgjson:0.11.2') {
exclude group: 'org.json', module: 'json' //provided by Android natively
}
and changed the version from 0.11.2 to 0.9.1 because I’m following this guide that uses this library.
I keep getting this error message even when switching to the newest version:
Could not resolve io.jsonwebtoken:jjwt-api:0.9.1.
Possible solution:
- Declare repository providing the artifact, see the documentation at https://docs.gradle.org/current/userguide/declaring_repositories.html
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
jwt dependency not found in Springboot 2.2.6 - Stack Overflow
I was facing something like "dependency io.jsonwebtoken::jjwt:0.9.1 not found" when I added io.jsonwebtoken dependency same with your case.
Read more >io.jsonwebtoken : jjwt : 0.9.1 - Maven Central Repository Search
JSON Web Token support for the JVM.
Read more >Implement Spring Boot + JSON Web Token Security - JavaInUse
We will be implementing Spring Boot Security using JWT.In this tutorial we will also be looking at how to manage role based authorization...
Read more >JwtParser (JSON Web Token support for the JVM 0.9.1 API)
Parses the specified compact serialized JWT string based on the builder's current ... If missing or if the parsed value does not equal...
Read more >io.jsonwebtoken » jjwt » 0.9.0 - Maven Repository
JSON Web Token Support For The JVM. License, Apache 2.0. Categories, JWT Libraries. Tags, jwtjsonsecurity ... New Version, 0.9.1 ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@hadestructhor There is no
jjwt-api
version0.9.x
, that was introduced in0.10.0
. See for example https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt-api. The question is why you need to downgrade though.@scharrua Your dependency is just fine, which should resolve normally. See https://mvnrepository.com/artifact/io.jsonwebtoken/jjwt/0.9.1.
To me, this doesn’t sound like an issue of jjwt, just a misconfiguration.
Artifact names changed with the 0.10.x release, so when you downgraded below 0.10.x, the names were incorrect. Please read the following for the correct current names:
https://github.com/jwtk/jjwt#install