Get Error while installing TestNG - eclipse

I have tried to install TestNG in Eclipse Java EE IDE for Web Developers.
Version: Juno Release
Build id: 20120614-1722
During Installation I caught following error and My installation is stopped.
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,org.testng.eclipse,6.5.2.20120616_1545
No repository found containing: org.eclipse.update.feature,org.testng.eclipse,6.5.2.20120616_1545
Any Idea to resolve this issue??

Try the current version of TestNG: 6.7.0.20120825_1316.
I just installed and used it in Juno without problems.

Related

Cannot install Subclipse plug-in in Eclipse

I cannot install Subclipse both from "install new software" and Eclipse Marketplace.
When I try to install Subclipse 4.2.3, I got this:
For the second option "Update my installation to be compatible with the items being installed":
For the third option "Show original error and build my own solution", I got following error:
Cannot complete the install because of a conflicting dependency.
Software being installed: Subclipse 4.2.3.201707071932 (org.tigris.subversion.subclipse.feature.group 4.2.3.201707071932)
Software currently installed: Subversion Client Adapter (Required) 1.10.3 (org.tigris.subversion.clientadapter.feature.feature.group 1.10.3)
Only one of the following can be installed at once:
Subversion Client Adapter 1.10.3 (org.tigris.subversion.clientadapter 1.10.3)
Subversion Client Adapter 1.9.4.2 (org.tigris.subversion.clientadapter 1.9.4.2)
Cannot satisfy dependency:
From: Subversion Client Adapter (Required) 1.10.3 (org.tigris.subversion.clientadapter.feature.feature.group 1.10.3)
To: org.tigris.subversion.clientadapter [1.10.3]
Cannot satisfy dependency:
From: Subclipse 4.2.3.201707071932 (org.tigris.subversion.subclipse.feature.group 4.2.3.201707071932)
To: org.tigris.subversion.clientadapter [1.9.4.2]
(I guess the reason is here! I may have installed Subversion Client Adapter some version already. But I cannot see it from Eclipse. If this is the problem, could you tell me where to uninstall it?)
After I selected the second option, I got this error:
An error occurred while collecting items to be installed
session context was:(profile=C__Users_eclipse_jee-neon_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,com.collabnet.subversion.merge,4.2.0.1
No repository found containing: osgi.bundle,com.trilead.ssh2,1.0.0.build220_r167_v20150618_1733
No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter,1.9.4.2
No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter.javahl,1.9.4.1
No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter.svnkit,1.8.12.1
No repository found containing: org.eclipse.update.feature,org.tigris.subversion.clientadapter.svnkit.feature,1.8.12.1
No repository found containing: osgi.bundle,org.tigris.subversion.subclipse.core,4.2.3.201707071932
No repository found containing: org.eclipse.update.feature,org.tigris.subversion.subclipse,4.2.3.201707071932
No repository found containing: osgi.bundle,org.tigris.subversion.subclipse.ui,4.2.3.201707071932
No repository found containing: osgi.bundle,org.tmatesoft.sqljet,1.1.10.r1317_v20140121_0107
No repository found containing: osgi.bundle,org.tmatesoft.svnkit,1.8.12.r10533_v20160129_0158
When I try to install Subclipse 1.10.x from "http://subclipse.tigris.org/update_1.10.x", I got this error:
An error occurred while collecting items to be installed
session context was:(profile=C__Users_eclipse_jee-neon_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter.javahl,1.8.15
No repository found containing: osgi.bundle,org.tigris.subversion.clientadapter.javahl.win64,1.8.15
No repository found containing: osgi.bundle,org.tigris.subversion.subclipse.mylyn,3.0.0
My environment:
Windows 10, 64 bits
Eclipse Neon.3 Release (4.6.3)
SVN 1.8.17(r1770682)
Java version "1.8.0_121", Java HotSpot(TM) 64-Bit Server VM (build
25.121-b13, mixed mode)
It seems you have installed an older version of Subclipse (see your second screenshot).
Try to uninstall the older version first: in Help > About Eclipse click Installation Details, in tab Installed Software select the Subclipse, Subversion, SVN Adapters, etc. and click Uninstall...
I had a similar problem after updating Eclipse SDP (RAD and RDi bundle), but I did not have Subclipse listed in my Installation Details (despite it being installed prior to the update). Re-installing Subclipse from eclipse Marketplace and then again using the "Install New Software" prompt resolved the issue.

Unable to update Eclipse / STS 3.7.3

After fresh install of Spring Tool Suite 3.7.3 (and adding the Subclipse plugin), update comes up with the error:
An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.sonatype.m2e.buildhelper,0.15.0.201212120353
No repository found containing: x,0.14.0.201509090157
No repository found containing: org.eclipse.update.feature,org.sonatype.m2e.buildhelper.feature,0.15.0.201212120353
No repository found containing: org.eclipse.update.feature,org.sonatype.m2e.egit.feature,0.14.0.201509090157
M2E and Sonatype seem to be involved in this somehow.
How to get rid of this error? And what about the missing "x" artifact?
Going to Help -> Installation details and uninstalling several components that related to M2E and Sonatype got me rid of this error message.

Unable to install sonarqube plugins for eclipse

I'm trying to install the sonarqube plugins in Eclipse Luna on Windows. This is what I do:
select Help/Install new software...
select the http://downloads.sonarsource.com/eclipse/eclipse/
select the SonarQube Java, SonarQube ortional connectors and SonarQube Python items and press Next
After some churning I get to an Install Remediation Page, indicating thePython Analyzer will not be installed. If I select Show original error and build my own solution I see the following details:
Cannot complete the install because one or more required items could not be found.
Software being installed: SonarQube Python Analyser 3.4.0.20140404-0949-RELEASE (org.sonar.ide.eclipse.pydev.feature.feature.group 3.4.0.20140404-0949-RELEASE)
Missing requirement: SonarQube Integration for PyDev 3.4.0.20140404-0949-RELEASE (org.sonar.ide.eclipse.pydev 3.4.0.20140404-0949-RELEASE) requires 'bundle org.python.pydev 0.0.0' but it could not be found
Cannot satisfy dependency:
From: SonarQube Python Analyser 3.4.0.20140404-0949-RELEASE (org.sonar.ide.eclipse.pydev.feature.feature.group 3.4.0.20140404-0949-RELEASE)
To: org.sonar.ide.eclipse.pydev [3.4.0.20140404-0949-RELEASE]
I Go back to keep my installation the same and modify the items being installed to be compatible, trying to at least get the Java part installed, and press Next, then Finish
I get a Problem occurred dialog, with the following details:
An error occurred while collecting items to be installed
session context was:(profile=epp.package.standard, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: org.eclipse.update.feature,org.sonar.ide.eclipse.jdt.feature,3.4.0.20140404-0949-RELEASE
No repository found containing: osgi.bundle,org.sonar.ide.eclipse.m2e,3.4.0.20140404-0949-RELEASE
No repository found containing: org.eclipse.update.feature,org.sonar.ide.eclipse.m2e.feature,3.4.0.20140404-0949-RELEASE
What am I doing wrong?
The following part of the error message tends to tell that you haven't installed Python support in Eclipse:
requires 'bundle org.python.pydev 0.0.0'
, which is required if you want to install support for Python SonarQube analyses.

eclipse indigo install zend debugger failed?

ubuntu 10.4 + eclipse indigo
first install pdt pulgin success, but it not include zend debugger
then install new software
add repository: PDT - http://downloads.zend.com/pdt
error info is followlings:
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=).
No repository found containing: osgi.bundle,org.zend.php.debug.debugger,5.3.18.v20110322
No repository found containing: osgi.bundle,org.zend.php.debug.debugger.linux.x86,5.3.18.v20110322
No repository found containing: org.eclipse.update.feature,org.zend.php.debug_feature,5.3.18.v20110322
how to do?

How do I install Aptana plugin in Eclipse 3.7?

I'm trying to install the Aptana Studio 3 plugin into Eclipse 3.7 on Ubuntu, but it is failing with the message
An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.eclipse.jdt.core,3.7.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.core.manipulation,1.4.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.debug,3.7.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.launching,3.6.0.dist
No repository found containing: osgi.bundle,org.eclipse.jdt.ui,3.7.0.dist
No repository found containing: osgi.bundle,org.junit,3.8.2.v3_8_2_v20100427-1100
The package URL I'm using is http://download.aptana.com/studio3/plugin/install. What am I doing wrong?
Update: I followed sgibly's advice below and now the install gets to about 49% before failing with this message:
An error occurred while collecting items to be installed
session context was:(profile=PlatformProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Comparison method violates its general contract!
Comparison method violates its general contract!
Try this:
Open the Eclipse Preferences and look for Install/Update->Available Software and make sure that the Indigo update site is selected.
If it's not selected, add http://download.eclipse.org/eclipse/updates/3.7 and try to install the Studio again.
Hope that helps.