无法在Eclipse-Kepler中安装TestNG [英] Not able to Install TestNG in Eclipse-Kepler

查看:180
本文介绍了无法在Eclipse-Kepler中安装TestNG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试在我的虚拟机(虚拟机)上安装TestNG时收到错误
无法在
谢谢
Kannan

解决方案

URL http://beust.com/eclipse/content.xml 将您转发到其他位置(可能基于您的地理位置)到启用了HTTPS的站点。



此网站提供的SSL证书不受JVM密钥库的信任。



尝试!

  curl -Lv http://beust.com/eclipse/content.xml 

位置:https://dl.bintray.com/testng-team/testng-eclipse-release//content.xml



你的屏幕截图值得注意的是其他错误:



sun.security.validatorValidatorException:PKIX路径构建失败



您可以尝试使用t 他的指南获取和导入站点的CA证书到您的JVM的密钥库



但首先我会检查这个证书,如果这是假的,甚至为什么JVM无法识别它(您正在运行最新的Java安装,或不是?)


When I tried to Install TestNG on my VM (virtual Machine) getting an error "Unable to read repository at http://beust.com/eclipse/content.xml." "peer not authenticated"

I tried many solution available in the net but no luck. Can any one please help me to fix this issue.

Eclipse Version: Kepler Service Release 1 Build id: 20130919-0819

Note: I don't have Admin Privilege on the VM

Thanks, Kannan

解决方案

URL http://beust.com/eclipse/content.xml will forward you to some other location (probably based on your geo location) to site with HTTPS enabled.

This site presented SSL certificate, which is not trusted by your JVM's keystore.

try it!

curl -Lv http://beust.com/eclipse/content.xml

Location: https://dl.bintray.com/testng-team/testng-eclipse-release//content.xml

In your screenshot it is notable by other error:

sun.security.validatorValidatorException : PKIX path building failed

You can try to use this guide to obtain and import site's CA certificate into your JVM's keystore.

But first I would examine this certificate if it's fake or even why JVM didn't recognize it (you are running up-to-date java installation, or not ?)

这篇关于无法在Eclipse-Kepler中安装TestNG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆