TestNG Installation - eclipse

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

Related

installing software has encountered error in the eclipse in ubuntu

i have one problem
i have setup of the liferay
i download the eclipse mars for the development but whenever i go to eclipse market place to download plugi for the liferay i have encounter 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=).
Unable to read repository at http://releases.liferay.com/tools/ide/latest/stable/tools/plugins/com.liferay.ide.doc_2.2.3.201505281145-ga4.jar.
connect timed out
It seems somehow Eclipse is trying to interpret the URL shown in the error as a repository, which it is not.
To check this, go to Preferences > Install/Update > Available Software Sites. If you find that URL in the list, remove it.
That jar file actually exists and can be downloaded OK - you may want to try this from your machine, too.
When you try again installing from the MarketPlace and if again you get an error, I'd expect that error to show up under "Errors" in https://marketplace.eclipse.org/content/liferay-ide. Here you also have the opportunity to write a comment which should get the attention of the solution provider.

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.

problem when updating sts or installing extensions

I'm working with STS 2.5.0 and I when I tried to install the GWT extension I encountered the following error:
An error occurred while collecting items to be installed
session context was:(profile=com.springsource.sts.ide, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,oracle.database.driver.jdk14,10.2.0.1
Then I tried to update STS to the newest version (2.5.2) and I got the same error.
Anyone happens to know what's the problem??
Thanks
I believe that the bundle belongs to Oracle Enterprise Pack for Eclipse (OEPE), and not the STS itself. Try to download and reinstall the latest version of OEPE from Oracle Technology Framework.
Below is the URL that takes you directly to the OEPE download page:
http://www.oracle.com/technetwork/developer-tools/eclipse/downloads/index.html
Eric
I had this same problem today when trying to update anything from STS 2.9.2 (which is Eclipse-based). I just added the online repository "http://download.oracle.com/otn_software/oepe/12.1.1.2.1/juno/repository" to my STS repository, and all the updates started working.

How do I get Eclipse to find the "org.eclipse.team.cvs.ssh" bundle?

I've been trying to install IAM or m2eclipse without success. Both of them need the org.eclipse.team.cvs.ssh bundle, but Eclipse Helios complains that the repository could not be found. I've been attempting to then just install that single bundle without success.
I select the "Helios - http://download.eclipse.org/releases/helios" repository and search for "cvs". This returns the "Eclipse CVS Client". I then attempt to install it. Eclipse says that it is already installed so it's just going to update the list of installed software. When I click finish, I am presented with the following error:
An error occurred while collecting items to be installed session context was:(profile=epp.package.rcp, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.team.cvs.ssh,3.2.100.I20090508-2000
Any ideas?
Found a resolution here that worked for me.
While installing new software, deactivating the option Contact all update sites during install to find required software helps.
And it did.
It would appear that this problem has been fixed in Eclipse. I just installed the Eclipse CVS Client without any issues.

installing GWT plugins to eclipse

i started to explore GWT yesterday it self and was going basic tutorial in google documentation, I've downloaded GWT ran a sample project without Eclipse as the tutorial stated and then started to setup Eclipse.
I'm using Eclipse Galileo and according to given instructions i followed the steps and when i was installing GWT plug-in for eclipse i came across an error, so i re ran the plug-in installation and came across the same error again, this is my 3rd time of that procedure. so i turned on to you, I've pasted the error messages below, some one please help me out.
regards,
rangana
An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.provisional.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://dl.google.com/eclipse/plugin/3.5/plugins/com.google.appengine.eclipse.sdkbundle.1.3.3_1.3.3.v201004231111.jar.
Read timed out
Unable to read repository at http://dl.google.com/eclipse/plugin/3.5/plugins/com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036.jar.
Read timed out
Have you tried the alternative installation procedure (from a zip file)?
Here is the work around :
Separately download the jar files for which read timeout is hapenning.
In this case download
com.google.gwt.eclipse.sdkbundle.2.0.3_2.0.3.v201002191036.jar.
com.google.appengine.eclipse.sdkbundle.1.3.3_1.3.3.v201004231111.jar.
using above url.
Note: both jars are above 80MB and takes a while for download.
copy the jars to plugin folder of eclipse
resume plugin installation once again.