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.

Spring Boot 2.4 dependency conflict

See original GitHub issue

This 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:closed
  • Created 3 years ago
  • Reactions:2
  • Comments:12 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
Avery-Dunncommented, Dec 14, 2020

@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.

1reaction
Avery-Dunncommented, Dec 1, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

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