Getting error while installing salesforce.com plugins into Eclipse - eclipse

This is error I am getting, using windows xp and eclipse indigo
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.salesforce.ide.api,24.0.0.201202291629.
MD5 hash is not as expected. Expected: 7251ab037ae632a5a9835c7c07210451 and found 2d2903c04b9d1291c5486b08bed1c3f3.
Problems downloading artifact: osgi.bundle,com.salesforce.ide.core,24.0.0.201202291629.
MD5 hash is not as expected. Expected: 44db36699ca7fdd38917fced4e63c3b3 and found abbb32934dccfa8e090445d70db3ee00.
Problems downloading artifact: osgi.bundle,com.salesforce.ide.documentation,24.0.0.201202291629.
MD5 hash is not as expected. Expected: 6d87eb2e76e7e19f7b709682e5272dfc and found b53354a2eed289832ef9d4f81fa4511d.

The Force.com IDE isn't supported in Eclipse Indigo (3.7), so I wouldn't bother contacting support about it. You'll have to use an earlier version of Eclipse like Helios (3.6/3.5/3.4 are supported). Or just install the standalone Force.com IDE.

The messages seem pretty clear: the MD5 hash of the plugins you're trying to install don't match what they are supposed to be. It suggest that salesforce.com has a problem in their p2 repository - you should contact them about it through whatever support channel they provide.

I recommend Eclipse Helios (3.6) with force.com plugin

Related

Unable to install Worklight for eclipse

I'm trying to install IBM MobileFirst Platform Studio in Eclipse Juno SR2.
But, each time I get the following error
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=).
Problems downloading artifact: osgi.bundle,com.ibm.imp.webtools.dojo.library.distributions,2.0.400.v20160331_0555.
MD5 hash is not as expected. Expected: d0939ee2754c4c8d3626f629cc7e2dcc and found 99b8a9fd32ebcd8a33f312560ea4df78.
I tried it initially in Mars. Even that didn't work.
Any idea why I get this error?
Eclipse Juno is not supported by MobileFirst Platform Foundation 7.1.
Use either Eclipse Kepler, Luna, or latest - Mars.
In Eclipse, go to Help -> Eclipse Marketplace and search for "mobilefirst", then install MobileFirst Studio.
Solved It !!
The problem was with my Network. It had a download limit of 150 MB, whereas, the plugin required around 250 MB. Once I removed the limit, there was no problem with the installation.

TestNG Installation

I have been trying to install TestNG to my Eclipse.
Eclipse version is Version: Mars.1 Release (4.5.1)..
While trying to install, it shows the error as mentioned below.
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=). Unable to read repository at
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
My this problem got solved by "Not downloading Optional TestNG" part (i.e Dont download "TestNG M2E Integration (Optional)" if not needed(It's recommended to install it if your Java project(s) are managed by Maven))
If it looks like some thing went wrong...
Follow below steps
Help >> Eclipse MarketPlace >> Search for TestNG and then install it.
Thank You,
Murali

Installation of Helios' XML Editor into Helios based Eclipse fails

I am working with IBM Rational Function Tester 8.3, which is Eclipse 3.6 (Helios) based. I wanted to install XML support, so I enabled the Helios update site and chose Eclipse XML Editors and Tools 3.2.3 to install. I was promted for license agreement and then the installation started as expected. After some time downloading things Eclipse showed me an error.
An error occurred while collecting items to be installed
session context was:(profile=bootProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.core.resources,3.6.2.R36x_v20110628-1020
I also tried Eclipse XML Editors and Tools 3.2.2 with the same result. I verified that org.eclipse.core.resources_3.6.2.R36x_v20110628-1020 is in the plugins folder of the installation and that it is loaded in the plugin registry. The needed plugin is available and active.
I have no idea why this happens. Please someone can shed some light into this issue. What could cause this problem? Thank you.

Not able to install GWT plugin in eclipse

I am using eclipse 3.7 version on windows xp platform.
I want to install GWT plugin for it so I tries below url for the installing plugin.
http://dl.google.com/eclipse/plugin/3.6
I checked three box in suggested list.
1. Google plugin for eclipse
2. Google App Engine Java SDK 1.7
3. Google Web Tool kit 2.4
I also checked the contact all update sites during installation problem.
But it is not installing the GWT plugin and giving me below error.
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Problems downloading artifact: osgi.bundle,com.google.gwt.eclipse.sdkbundle,2.4.0.v201208080120-rel-r37.
MD5 hash is not as expected. Expected: 4377ba085a0089b1641d9c989f4bd0cc and found 4cacae71d159d6c14fe5b09f04b2ec16.
Problems downloading artifact: osgi.bundle,com.google.appengine.eclipse.sdkbundle,1.7.0.
MD5 hash is not as expected. Expected: 1ba46f6b6c57b36904abecef6ae99cba and found f142767a855d57c150e2383afd1c342e.
I am not getting the where the problem is.I also tried eclipse 3.6 but the same problem is also occurring in that version.
Please help me out.
Thanks in advance
Probably you had a local fail judging by this error. Try restart Eclipse and install this plugin again. But in general, to avoid such troubles, I would recommend you to install any Eclipse plugins manually from an archive file.

Failed to integrate Maven in eclipse Helios

I try to integrate maven in my eclipse helios by clicking in eclipse marketplace.
But when it becomes to install software , I have this error :
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=).
Comparison method violates its general contract!
Comparison method violates its general contract!
How can I resolve this please !!
Hi I assume you are running Eclipse Helios on a Machine that has a Java 7 JRE/JDK installed that is used by Eclipse. There is a known Bug that leads to this behavior because the Java Contract of the integrated sort algorithm has changed.
When you install (or use an already installed) Java 6 JRE/JDK to run Eclipse this should solve the problem.
To make sure the correct Java Installation is used for Eclipse edit the eclipse.ini in your Eclipse installation folder and add the following two lines at the beginning:
-vm
c:\<path-to-java-6>\bin\javaw.exe
After that all should work as expected. In newer Indigo releases this is fixed.