Closed wuyongzheng closed 1 year ago
@wuyongzheng, thank you for creating this issue. We will troubleshoot it as soon as we can.
Triage this issue by using labels.
If information is missing, add a helpful comment and then I-issue-template
label.
If the issue is a question, add the I-question
label.
If the issue is valid but there is no time to troubleshoot it, consider adding the help wanted
label.
If the issue requires changes or fixes from an external project (e.g., ChromeDriver, GeckoDriver, MSEdgeDriver, W3C),
add the applicable G-*
label, and it will provide the correct link and auto-close the
issue.
After troubleshooting the issue, please add the R-awaiting answer
label.
Thank you!
I was able to reproduce the issue. Thank you for the details. The duplicate jars are due to the dependencies https://github.com/SeleniumHQ/selenium/blob/trunk/java/maven_deps.bzl#L41, which are essential to support unix domain sockets in the Netty client that Selenium uses. Locally, I removed those dependencies and created a pre-release zip file, the same as the one used in the issue and the duplicate warning was not shown. The dependencies in maven are identified using the classifier for the operating system for UNIX domain sockets. I am guessing that while building the Java bindings, the classifier is not accounted for and I am not sure if it should be accounted for. However, we have introduced JDK 11 Http Client and our future plans are to support that and not use the Netty client, so as part of that, this issue will eventually be resolved. Meanwhile, I see the issue is not blocking in nature and there is a way to get around it so I am closing the issue.
What happened?
I downloaded the selenium Java version from https://www.selenium.dev/downloads/. The linux unzip tool complains about duplicated file name. I tried 7zip on Windows, same problem. I remember I had this problem in selenium 4.3.0 as well. I'm surprised that this hasn't been fixed for a year.
How can we reproduce the issue?
Relevant log output
Operating System
Fedora Linux
Selenium version
selenium-java-4.6.0
What are the browser(s) and version(s) where you see this issue?
N.A.
What are the browser driver(s) and version(s) where you see this issue?
N.A.
Are you using Selenium Grid?
No response