无法在 http://beust.com/eclipse 读取存储库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10720263/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 21:04:18  来源:igfitidea点击:

Unable to read repository at http://beust.com/eclipse

eclipsetestngtestng-eclipse

提问by Faizar

Eclipse for Testers Version: Indigo Release Build id: 20110615-0604

Eclipse for Testers 版本:Indigo 发布版本 ID:20110615-0604

I try to install TestNG but below error appeared.

我尝试安装 TestNG,但出现以下错误。

" Unable to read repository at http://beust.com/eclipse. http://beust.com/eclipseis not a valid repository location. "

“无法读取在仓库http://beust.com/eclipsehttp://beust.com/eclipse不是有效的存储库的位置。”

Kindly Resolve the problems

请解决问题

回答by mahishasura

This is because http://beust.com/eclipseis redirecting to http://dl.bintray.com/testng-team/and Eclipse software seems to be not handling this URL redirection as intended.

这是因为http://beust.com/eclipse正在重定向到http://dl.bintray.com/testng-team/并且 Eclipse 软件似乎没有按预期处理此 URL 重定向。

If you add the URL as http://dl.bintray.com/testng-team/testng-eclipse-release/then this will work OK.

如果您将 URL 添加为http://dl.bintray.com/testng-team/testng-eclipse-release/那么这将正常工作。

回答by Yang Li

I added one "/" to the end: http://beust.com/eclipse/, then it works. If you use RAD 8+, navigate from Windows -> Preferences -> General -> Network Connections, make sure you have correct settings here, for me I have to change the setting from Native to Direct.

我在末尾添加了一个“ /”:http://beust.com/eclipse/,然后它就可以工作了。如果您使用 RAD 8+,请从 Windows -> Preferences -> General -> Network Connections 导航,确保此处设置正确,对我而言,我必须将设置从 Native 更改为 Direct。

回答by Liya

You can try below link
https://www.techbeamers.com/install-testng-in-eclipse-ide/

您可以尝试以下链接
https://www.techbeamers.com/install-testng-in-eclipse-ide/

The URL for downloading the Zip file is for version 6.11 in the above link. If you need a higher version try http://dl.bintray.com/testng-team/testng-eclipse-release/zipped/

下载 Zip 文件的 URL 适用于上述链接中的 6.11 版。如果您需要更高版本,请尝试 http://dl.bintray.com/testng-team/testng-eclipse-release/zipped/

回答by vivekraj

Disconnect from your company's intranet network and connect to your network (Like mobile hotspot or home wifi). Try install then. Worked for me.

断开与您公司的 Intranet 网络的连接并连接到您的网络(如移动热点或家庭 wifi)。然后尝试安装。对我来说有效。

回答by tugcem

It doesn't work for Eclipse Neon at all. You can try to download the zippedarchive file and add the 'update site' as an archive file from the file system.

它根本不适用于 Eclipse Neon。您可以尝试下载压缩存档文件并将“更新站点”添加为文件系统中的存档文件。

回答by Bharath Nadukatla

> Install TestNG In Eclipse IDE Via Offline Jar Files

> 通过离线 Jar 文件在 Eclipse IDE 中安装 TestNG

  1. Download the latest TestNG Jar files from the link TestNg Jars
  2. Go to the eclipse installation directory and look for the “dropins” folder there.
  3. Create a folder inside the dropinsfolder and name it as “testng-eclipse-6.11“
  4. Extract the “site_assembly.zip” file and copy its contents to the newly created “testng-eclipse-6.11” directory.
  5. Restart Eclipse
  1. 从链接TestNg Jars下载最新的 TestNG Jar 文件
  2. 转到 eclipse 安装目录并在那里查找“ dropins”文件夹。
  3. dropins文件夹中创建一个文件夹并将其命名为“testng-eclipse-6.11”
  4. 解压“site_assembly.zip”文件并将其内容复制到新创建的“testng-eclipse-6.11”目录中。
  5. 重启 Eclipse

source: techbeamers

来源:techbeamers

回答by rucha

The given link is https://beust.com/eclipseremove "s" from https & try with link http://beust.com/eclipse

给定的链接是https://beust.com/eclipse从 https 中删除“s”并尝试使用链接http://beust.com/eclipse

回答by Suman

I was using "http://beust.com/eclipse/" but unable to download TestNG jar it is showing no contents.

我正在使用“ http://beust.com/eclipse/”,但无法下载 TestNG jar,它不显示任何内容。

If you will use this URL "http://dl.bintray.com/testng-team/testng-eclipse-release/" then you will able to download, it worked for me.

如果您将使用此 URL“ http://dl.bintray.com/testng-team/testng-eclipse-release/”,那么您将能够下载,它对我有用

回答by Sumit Garg

Just install TestNG from below URL and no such issue will occur at latest eclipse releases:

只需从下面的 URL 安装 TestNG,在最新的 Eclipse 版本中不会发生这样的问题:

http://dl.bintray.com/testng-team/testng-eclipse-release/

http://dl.bintray.com/testng-team/testng-eclipse-release/

回答by Rashmi Reddy

The above link didn't work it means you need a higher version of TestNG for the eclipse. Before that check TestNG is installed or not in order to know that press CTRL+N in the wizard you can see TestNG class file name.

上面的链接不起作用,这意味着您需要更高版本的 TestNG 用于 Eclipse。在检查 TestNG 是否安装之前,为了知道在向导中按 CTRL+N 可以看到 TestNG 类文件名。

If it is not displaying then try installing TestNG In Eclipse IDE Via Offline Jar Files:

如果未显示,请尝试通过离线 Jar 文件在 Eclipse IDE 中安装 TestNG:

1)Download the latest TestNG Jar files from the link TestNg Jars ("https://github.com/cbeust/testng-eclipse") 2)Download TestNG 6.11, Clicking on the link will download the “site_assembly.zip” file for the TestNG version 6.11. This file contains two folders named as “features” and “plugins“.Go to the eclipse installation directory and look for the “dropins” folder there. 3)Create a folder inside the dropins folder and name it as “testng-eclipse-6.11“ 4)Extract the “site_assembly.zip” file and copy its contents to the newly created “testng-eclipse-6.11” directory. 5)Restart Eclipse

1)从链接TestNg Jars(“ https://github.com/cbeust/testng-eclipse” )下载最新的TestNG Jar文件2)下载TestNG 6.11,点击链接将下载“site_assembly.zip”文件TestNG 6.11 版。该文件包含两个名为“features”和“plugins”的文件夹。转到 eclipse 安装目录并在那里查找“dropins”文件夹。3)在dropins文件夹中创建一个文件夹,命名为“testng-eclipse-6.11” 4)解压“site_assembly.zip”文件并将其内容复制到新创建的“testng-eclipse-6.11”目录中。5)重启Eclipse

OR

或者

Go click on Help> Install new Software> Under Available software> Work with textbox paste this "2019-06 - http://download.eclipse.org/releases/2019-06" and then click on ADD. You will now see the files like TestNG and a lot many others. Select TestNG click on Next> Next> Accept the condtions> Finish. It will restart the eclipse. Inorder to know the installation is successful Press CTRL+N.

去点击帮助>安装新软件>在可用软件下>使用文本框粘贴这个“2019-06 - http://download.eclipse.org/releases/2019-06”,然后点击添加。您现在将看到 TestNG 和许多其他文件。选择 TestNG 单击 Next> Next> Accept the condition> Finish。它将重新启动日食。为了知道安装成功按CTRL+N。