Spring Boot 2.4 dependency conflict
See original GitHub issueThis library uses com.nimbusds:oauth2-oidc-sdk:7.4
. Spring Boot version 2.4 manages that dependency to version 8.23.1
. See https://docs.spring.io/spring-boot/docs/current/reference/html/appendix-dependency-versions.html#dependency-versions-coordinates:~:text=oauth2-oidc-sdk
This means that if you try and use this library in a Spring Boot 2.4 project you get an error at runtime, since Maven will choose the newer version.
Please upgrade this dependency.
Thanks!
Issue Analytics
- State:
- Created 3 years ago
- Reactions:2
- Comments:12 (5 by maintainers)
Top Results From Across the Web
Dependency Versions - Spring
Group ID Artifact ID Version
ch.qos.logback logback‑access 1.4.5
ch.qos.logback logback‑classic 1.4.5
ch.qos.logback logback‑core 1.4.5
Read more >java - conflict with Spring Boot 2.5.4 and Spring Cloud 3.0.3
First of all, you need to look at this compatibility matrix between cloud and boot dependencies. Then, you need (for example) to generate ......
Read more >Dependency errors after upgrading to SB 2.4.7 #26860 - GitHub
7 I get some dependency convergence errors around the spring-boot-starter-data-jpa and the corresponding spring-data library. errors example :
Read more >springboot-how to solve conflict and compatibility of spring ...
In this post, we demonstrated how to check the dependency versions of each spring boot releases. Actually you can goto spring boot documents...
Read more >Learning the Basics - Gradle User Manual
It also provides you with information about any dependency conflict resolution that occurred in the process and clearly indicates the selected version.
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
@adamzr and @MBurchard : Sorry for the long delay, but the newest version of the library (1.8.1) has been released and should solve the issue you were having.
@davidkarlsen : Hey, I saw your comment on this PR https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/322 about an issue with one of the Nimbus SDK’s JSON methods. That part of the dependency is unrelated to the one in that PR or this thread, so it may be an unrelated issue.
What version of the Nimbus SDK is your environment using? I haven’t been able to recreate your issue with either the version the library uses (7.4) or the one mentioned in this thread (8.23), and the Nimbus SDK doesn’t seem to have had any changes to that method for a while, so you may want to make a separate thread for the issue you’re having.
Hello @davidkarlsen : I made this PR https://github.com/AzureAD/microsoft-authentication-library-for-java/pull/322 to take care of this issue (pretty much just removed the use of the file causing issues as a quick fix), and this will be released by the end of the week.