您的位置:首页 > 其它

exlipse安装cobertura插件出错问题解决

2014-05-29 17:24 239 查看
★:请先看完步骤在按照步骤操作!!

1.安装报错:
打开exlipse的商店:help》exlipse marketplace
搜索cobertura,点击安装
在安装的过程中报如下错误:Cannot complete the install because one or more required items could not be found. Software being installed: eCobertura 0.9.8.201007202152 (ecobertura.feature.group 0.9.8.201007202152)Missing requirement: eCobertura 0.9.8.201007202152 (ecobertura.feature.group 0.9.8.201007202152) requires 'org.junit4 0.0.0' but it could not be found
2.错误原因:
我理解的意思是junit的版本不对,在网上找了很久,终于找到了问题出在哪里。

3.解决办法
下载
org.junit4_4.8.1.v20120523-1257
org.junit_4.10.0.v4_10_0_v20120426-0900
两个版本中的任何一个,我用的是第一个。
解压后放入exlipse安装目录下的pulgins文件夹下,重启exlipse,重新进入商店安装后就可以成功。

4.需要注意的地方:
安装过程中有一个需要手动选择jar包的环节,全选点击继续或者确定。

5.参考资料:
http://stackoverflow.com/questions/18630141/cobertura-pluging-for-eclipse-kepler
http://kennethxu.blogspot.com/2012/01/cobertura-and-eclipse-ecobertura.html
jar包下载:

http://pan.baidu.com/s/1nt0mzbF

6.如有问题请在评论中留言
本文出自 “一个风向” 博客,请务必保留此出处http://lanffy.blog.51cto.com/6452125/1368950
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: