-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version 4 depends on Alpha Version of SLF4J #1746
Comments
This is in fact a problem and I assume @brettwooldridge did it for the same reasons as Jetty - the modularity stuff doesn't play nice with 1.7.x |
Is there any way to resolve this apart from 1) using unstable |
@hoxu Yes there is, just exclude the |
For com.zaxxer/HikariCP
{:mvn/version "4.0.3" :exclusions [org.slf4j/slf4j-api] |
Hi @brettwooldridge, We're in a kind of blocked situation today because of HikariCP. Lots of libraries using HikariCP, like doobie or Quill (in the Scala world) for example, can't update to the v4 nor v5 versions of HikariCP because of the SFL4J version used ( > jdeps --multi-release 11 -R <classpath>
Exception in thread "main" java.lang.module.FindException: Module hibernate.core not found, required by com.zaxxer.hikari What can we do to move forward to fix this issue? 🤔 For now, the only "fix" we have as users is to use the version |
You can exclude it like |
Maybe HikariCP could be updated to it, since it is at least a stable version? |
Please, upgrade to |
HikariCP 5 is still using the alpha version of slf4j with JDK 11+. If it really is necessary for some reason, then update to an actual release. Otherwise stick with 1.7.x for all releases. |
See brettwooldridge/HikariCP#1746 (comment) We can't update to `5.0.x` as it's not compiled for Java8
See brettwooldridge/HikariCP#1746 (comment) We can't update to `5.0.x` as it's not compiled for Java8 Co-authored-by: Juliano Alves <von.juliano@gmail.com>
See brettwooldridge/HikariCP#1746 (comment) We can't update to `5.0.x` as it's not compiled for Java8 Co-authored-by: Juliano Alves <von.juliano@gmail.com>
Hello,
since the latest major release of version
4.x.x
, the dependency toslf4j-api
uses version2.0.0-alpha
.This is problematic, because the version is still unstable and also is binary incompatible to any
1.x.x
bindings of SLF4J.My current workaround is to set the version of
slf4j-api
explicitly using<dependencyManagement>
.The text was updated successfully, but these errors were encountered: