oxsean opened a new issue, #13188: URL: https://github.com/apache/dubbo/issues/13188
### Environment * Dubbo version: 3.3 * Operating System version: Windows 11 * Java version: 1.8 ### Steps to Reproduce the Issue 1. Create a dubbo application with dependencies on dubbo-registry-zookeeper and dubbo-remoting-zookeeper-curator5, start the app. ### Example You can find an example [here](https://github.com/chickenlj/dubbo-samples/blob/3.3.0-beta.1-sae/2-advanced/dubbo-samples-native-image/dubbo-samples-native-image-provider/pom.xml#L85). 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. ![image](https://github.com/apache/dubbo/assets/716461/477e89ef-24e7-412d-af76-dba23753f6da) ![image](https://github.com/apache/dubbo/assets/716461/aaa6af99-355e-4d41-ad4f-5c749b667672) Exclude the relevant log jars. In a properly configured application, it will directly include the required log jars. Indirectly dependencies can lead to jar version mistake. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscr...@dubbo.apache.org For additional commands, e-mail: notifications-h...@dubbo.apache.org