简体   繁体   English

TestNG安装

[英]TestNG Installation

I have been trying to install TestNG to my Eclipse. 我一直在尝试将TestNG安装到我的Eclipse。 Eclipse version is Version: Mars.1 Release (4.5.1).. While trying to install, it shows the error as mentioned below. Eclipse版本为版本:Mars.1发行版(4.5.1)。尝试安装时,它显示以下错误。 Please guide me how to rectify this problem. 请指导我如何解决此问题。

An error occurred while collecting items to be installed session context was:(profile=epp.package.jee, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=). 收集要安装的会话会话上下文时发生错误:(profile = epp.package.jee,phase = org.eclipse.equinox.internal.p2.engine.phases.Collect,operationnd =,action =)。 Unable to read repository at http://beust.com/eclipse/plugins/org.testng.eclipse_6.9.10.201512240000.jar . 无法读取http://beust.com/eclipse/plugins/org.testng.eclipse_6.9.10.201512240000.jar上的存储库。 Premature end of Content-Length delimited message body (expected: 3005134; received: 1555400 Content-Length分隔的消息正文的结尾过早(预期:3005134;已接收:1555400

If it looks like some thing went wrong... 如果看起来出了点问题...

Follow below steps 遵循以下步骤

Help >> Eclipse MarketPlace >> Search for TestNG and then install it. 帮助>> Eclipse MarketPlace >>搜索TestNG,然后安装它。

Thank You, Murali 谢谢,穆拉利

我的问题已通过“不下载可选的TestNG”部分解决(例如,如果不需要,请不要下载“ TestNG M2E集成(可选)”(如果您的Java项目由Maven管理,建议安装它))

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM