Forum Discussion

swathi2's avatar
swathi2
Visitor
3 months ago

uploaded jar file not working

I am trying to build a selenium jar file on ubuntu wsl in an environment with chrome browser 85 using

and I tried building it using java -jar command as mentioned in the document and it is working fine in my local environment. When I try to upload the JAR file built to alertsite via this code, it gives me error code 21

I did verify the main class is present in the jar file, and all the selenium libraries are installed as well. I presume its an issue due to the browser version mismatch on alertsite.

Can someone let me know what the issue here is? which is the supported version on alertsite. Im not able to install older versions of chrome on my wsl as the official releases from google are removed. what can be done here? Thanks in advance 

 

PS: selenium version 3.141.59 and java version 11 i specify in my pom.xml during build. 

No RepliesBe the first to reply