我正在尝试在我的eclipse Juno安装中安装eclEmma。
当我通过'Install new Software‘安装时,eclipse会计算依赖项,要求我接受许可,然后产生以下错误:
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=).
No repository found containing: osgi.bundle,com.mountainminds.eclemma.asm,2.2.0.201210261515
No repository found containing: osgi.bundle,com.mountainminds.eclemma.core,2.2.0.201210261515
No repository found containing: osgi.bundle,com.mountainminds.eclemma.debug.ui.compatibility,2.2.0.201210261515
No repository found containing: osgi.bundle,com.mountainminds.eclemma.doc,2.2.0.201210261515
No repository found containing: org.eclipse.update.feature,com.mountainminds.eclemma.feature,2.2.0.201210261515
No repository found containing: osgi.bundle,com.mountainminds.eclemma.ui,2.2.0.201210261515
No repository found containing: osgi.bundle,org.jacoco.agent,0.6.0.201210061924
No repository found containing: osgi.bundle,org.jacoco.core,0.6.0.201210061924
No repository found containing: osgi.bundle,org.jacoco.report,0.6.0.201210061924如果我穿过市场,我会得到
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=).
No artifact repository available.
noArtifactRepositoriesAvailable在选择要安装的内容之后不久。
问:我能做些什么来解决这个问题?我需要额外的更新站点吗?
注:我刚安装了MoreUnit,所以互联网连接似乎没问题。
发布于 2013-07-01 19:26:17
我也遇到了同样的问题,网站上描述的手动安装eclemma不起作用。这就是我所做的(在4.3开普勒上)。
打开eclemma 2.2.1.zip。转到features子目录。在您的eclipse/feature目录中,创建一个名为jar的目录,该目录位于zip文件的feature子目录中(没有jar后缀)。现在打开jar并将其内容复制到这个新创建的目录中。
完成后,它应该如下所示:
./eclipse/features/com.mountainminds.eclemma.feature_2.2.1.201306092145/
|-META-INF
|-about.html
|-feature.properties
|-feature.xml然后将jars从zip中的plugins目录复制到eclipse安装的plugins目录:
./eclipse/plugins/
|-com.mountainminds.eclemma.asm_2.2.1.201306092145.jar
|-com.mountainminds.eclemma.core_2.2.1.201306092145.jar
|-com.mountainminds.eclemma.debug.ui.compatibility_2.2.1.201306092145.jar
|-com.mountainminds.eclemma.doc_2.2.1.201306092145.jar
|-com.mountainminds.eclemma.ui_2.2.1.201306092145.jar
|-org.jacoco.agent_0.6.3.201306030806.jar
|-org.jacoco.core_0.6.3.201306030806.jar
|-org.jacoco.report_0.6.3.201306030806.jar启动eclipse,覆盖率启动器应该是可见的,并且覆盖率应该可以工作。
发布于 2013-03-18 19:57:07
在Marketplace (选项1)和Update Site (选项2)上安装也不适用于我。
我把它安装在
Option 3: Manual Download and Installation
发布于 2016-12-12 13:28:34
我尝试按照official documentation手动安装,但对我不起作用。
选项3:手动下载和安装
如需手动安装,请下载最新的EclEmma版本。将归档文件解压缩到Eclipse安装目录的dropins文件夹中,然后重新启动Eclipse:
<your eclipse installation>/
+- dropins/
+- eclemma-x.y.z/
+- plugins/
| +- ...
+- feature/
+- ...而不是直接将解压的zip文件放入dropins文件夹。我已经复制了features and plugin文件夹中所有可用的jar文件,并手动粘贴到eclipse根文件夹下的相同features和plugin文件夹中。现在它开始工作了。
解决方案:
<your eclipse installation>/
+- plugins/
| +- com.mountainminds.eclemma.asm_2.3.3.201602231923
| +- com.mountainminds.eclemma.core_2.3.3.201602231923
| +- com.mountainminds.eclemma.debug.ui.compatibility_2.3.3.201602231923
| +- com.mountainminds.eclemma.doc_2.3.3.201602231923
| +- com.mountainminds.eclemma.ui_2.3.3.201602231923
| +- org.jacoco.agent_0.7.6.201602180812
| +- org.jacoco.core_0.7.6.201602180812
| +- org.jacoco.report_0.7.6.201602180812
+- feature/
+- com.mountainminds.eclemma.feature_2.3.3.201602231923https://stackoverflow.com/questions/14769904
复制相似问题