簡體   English   中英

selenium-server-standalone-2.37.0.jar損壞了?

[英]selenium-server-standalone-2.37.0.jar is broken?

我正在嘗試在項目中使用庫“ selenium-server-standalone-2.37.0.jar”。 該項目以前使用的是“ selenium-server-standalone-2.24.1.jar”,但對於我當前的Chrome版本來說,這已經過時了。

但是,當我嘗試將舊的jar替換為新的jar時,我開始遇到Eclipse錯誤:

Description Resource    Path    Location    Type
Archive for required library: 'mypath/lib/selenium-server-standalone-2.37.0.jar' in project 'BookProject' cannot be read or is not a valid ZIP file BookProject Build path  Build Path Problem

因此,我嘗試用7-zip解開罐子的包裝,但出現錯誤:

Can not open file 'mypath/selenium-server-standalone-2.37.0.jar' as archive

這個罐子真的壞了嗎,還是我在這里想念的東西? 如果此版本不起作用,有人知道我在哪里可以找到舊版本嗎? 我在任何地方都找不到。

如果即使使用7-zip也無法打開jar,則表明它已損壞。

我建議重新下載它。 此外,在使用eclipse時,最好在升級事物時清除依賴項緩存,這通常可以解決問題。

編輯

我想罐子本身可能已經損壞了。 如果是這種情況,請嘗試轉到https://code.google.com/p/selenium/downloads/list,並在其上顯示"Search: Current Downloads"選擇"Deprecated Downloads"

我還在用
https://code.google.com/p/selenium/downloads/detail?name=selenium-server-standalone-2.35.0.jar

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM