-
Notifications
You must be signed in to change notification settings - Fork 26.4k
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
Transitive dependency problem with Zookeeper and Curator5 log jars #13188
Labels
type/bug
Bugs to being fixed
Comments
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 11, 2023
8 tasks
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 17, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 18, 2023
8 tasks
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 18, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 18, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 19, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 19, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 20, 2023
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 29, 2023
…r zookeeper & cleanup pom
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 29, 2023
…r zookeeper & cleanup pom
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 30, 2023
…r zookeeper & cleanup pom
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 30, 2023
…r zookeeper & cleanup pom
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 30, 2023
…r zookeeper & cleanup pom
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 30, 2023
…r zookeeper & cleanup pom
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 30, 2023
…r zookeeper & cleanup pom
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 30, 2023
…r zookeeper & cleanup pom
oxsean
added a commit
to oxsean/dubbo
that referenced
this issue
Oct 30, 2023
…r zookeeper & cleanup pom
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Environment
Steps to Reproduce the Issue
Example
You can find an example here. Provider by @chickenlj
Expected Behavior
The application should start successfull.
Actual Behavior
After starting, the following error occurs: Exception in thread "main" java.lang.IllegalArgumentException: LoggerFactory is not a Logback LoggerContext but Logback is on the classpath.
Proposal
The root cause is that Zookeeper and Curator5 bring in transitive dependencies of log4j and older versions of slf4j-api, leading to a log component conflict.
Exclude the relevant log jars. In a properly configured application, it will directly include the required log jars. Indirectly dependencies can leading to jar version mistake.
The text was updated successfully, but these errors were encountered: