Skip to content

[🐛 Bug]: Selenium Server Jar is "not a jar" #16561

@MrPickles9000

Description

@MrPickles9000

Description

When including the selenium-server-4.38.0.jar in our project and running from an ant task, we receive the warning "CLASSPATH element c:\project\lib\selenium-server-4.38.0.jar is not a JAR."

Also, I cannot open this JAR if I rename the extension to .zip and try to open it with Windows' built-in ZIP tool, or 7-zip. But I CAN open it if I rename the extension to .rar and open it with 7-zip. The same thing happens with the 4.39 nightly snapshot.

Despite this behaviour, the project still runs.

(I noticed a few older bugs with what looks like the same complaint, but as they were closed for inactivity, I am submitting mine. For example: see issue #12285.)

Reproducible Code

Download the indicated .jar file and open it with 7-zip.

Debugging Logs

CLASSPATH element c:\project\lib\selenium-server-4.38.0.jar is not a JAR.

ℹ️ Last known working version: 2.41.0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions