-
Notifications
You must be signed in to change notification settings - Fork 557
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
Multiple SLF4J bindings #3032
Comments
From http://www.slf4j.org/codes.html#multiple_bindings:
Basically this means this helidon-microprofile-cdi should NOT declare a dependency on The pattern as described by the SL4J documentation is to let the user pick a binding implementation, this means we need to add an explicit dependency to a binding artifact in every example, or MP based archetype. |
I searched the source for dependencies on
|
Guys, this issue is closed but there are no resolutions like a linked ticket or closed PR. What's next with it? |
Things look out of order, not sure what happened. The PR (#3047) just got merged, so the changes will be available with the next 2.x release. |
Thanks |
Environment Details
Problem Description
It seems that transitive library io.helidon.microprofile.cdi:helidon-microprofile-cdi:2.3.0 includes an SLF4J binding that conflicts with the one configured by application developers.
When running a Helidon MP application with SLF4J binding in dependencies, the following warning from SLF4J is logged at startup:
Here is the dependency tree:
So, the wrong SLF4J binding was chosen during startup.
Seems like this issue is similar to: #786
Steps to reproduce
Build and run an application with the following parent and dependencies:
The warning is logged at startup.
The text was updated successfully, but these errors were encountered: