2017.9.9在eclipse4.2.2安装testng时出现两个问题:


起始步骤:
1、选择菜单:Help->Install New Software,在弹出的窗口中的Work with后面的输入框中输入:
http://beust.com/eclipse,点击add,输入随意名称如:testng,点击OK
2、等待name处出现testng时,选择testng
3、点击next……
 
问题1:卡在calculating requirements and dependencies不动了
解决  :在步骤3:点击next前,把“Contact all update sites during install to find required software”(寻找指定的软件前先访问所有更新站点)前面的勾去掉
 
之后步骤:
3、点击next
4、点击next
5、选中Accept the License Agreement,点击finish
 
问题2:在安装testng时提示错误:MD5 hash is not as expected
解决  :步骤2时默认出现的时testng最新版,但eclipse4.2.2应该是不支持最新版,所以在步骤2勾选testng后,把“Show only the latest versions of available software”前面的勾去掉,即可显示出testng历史版本,勾选testng 6.9.11版本,再次执行步骤3、4、5
 
重启eclipse即可。

 

 
posted on 2018-06-24 18:00  jxba  阅读(187)  评论(0编辑  收藏  举报