Error while Installing TestNG Eclipse Plugin 6.14.3 Version - selenium

I am getting the following error while installing TestNG plugin( 6.14.3) in Eclipse.
Missing requirement: TestNG Eclipse Support 6.14.3.201902250526
(org.testng.eclipse 6.14.3.201902250526) requires 'bundle
org.eclipse.jdt.launching 3.10.0' but it could not be found Cannot
satisfy dependency: From: TestNG 6.14.3.201902250526
(org.testng.eclipse.feature.group 6.14.3.201902250526) To:
org.testng.eclipse [6.14.3.201902250526]
I am using Eclipse Oxygen- March Edition. Could anyone please help me here?

Your version on Eclipse (Oxygen) is too old for that version of TestNG.
Version 3.10.0 of org.eclipse.jdt.launching was not introduced until Eclipse Photon so you need at least that version of Eclipse, but preferably the current version (Eclipse 2018-12 at time time of writing)

We had same issue for several employees. In our case it doesn't relate to Eclipse version.
Seems as new WebSense antivirus blocked the installation of the TestNG from default location. Eclipse showed the error from the description and continued to look for "alternative solution" which took many hours, but finally TestNG was installed successfully. Just have patience. Or try to disable antivirus.
let process to continue in spite of the error

Thanks Greg and Ilana.
TestNG installed successfully when the Eclipse was updated to 2018-12 Version.

If you are facing issue while installing TestNG in Eclipse version there are few simple steps to follow:
Download zipped latest version of Eclipse from below location (http://dl.bintray.com/testng-team/testng-eclipse-release/)
Store it your drive (zipped folder suppose in C drive)
After that go to Eclipse and install new software, click on add, archive, and complete the installation by selecting Next option when prompted)
Restart Eclipse you will see TestNG option in there.

while installing from add new software ,there is an option to check for solution rather than default selection. Please select different version of TestNG which is compatible with your eclipse version .This solution worked for me while using eclipse Mars(4.5.2)

Related

Unable to install LDT to Eclipse 2019-12 (4.14.0)

I was setting up a new laptop and downloaded Eclipse: Version: 2019-12 (4.14.0) but when I tried to add the LDT plugins, it fails because it cannot satisfy dependency (see below.)
The prior version of eclipse I had on my last laptop was 2018-12 (4.10.)
Does anyone have a list of what or know which the last/latest version of Eclipse which works with the (1.4.2?) LDT plugin is?
[[EDIT]] => Verified that Lua Development Tools still installs if I reinstall 2018-12 Eclipse. So it is a compatability thing as I asked. Since no one yet has the answer, I will install one after another Eclipse version to determine last that works and update this entry. VERIFIED: 2019-09 is the latest that works with LDT plugin.
(pointed repo to "stable" (although tried even nightly after that)
Error message:
Cannot complete the install because one or more required items could not be found.
Software being installed: Lua Development Tools SDK 1.4.2.201804031433 (org.eclipse.ldt.source.feature.group 1.4.2.201804031433)
Missing requirement: Lua Development Tools Core 1.3.0.201804031433 (org.eclipse.ldt 1.3.0.201804031433) requires 'osgi.bundle; org.eclipse.dltk.core [5.5.0,6.0.0)' but it could not be found
Cannot satisfy dependency:
From: Lua Development Tools - Core Feature 1.4.2.201804031433 (org.eclipse.ldt.core.feature.group 1.4.2.201804031433)
To: org.eclipse.equinox.p2.iu; org.eclipse.ldt [1.3.0.201804031433,1.3.0.201804031433]
Cannot satisfy dependency:
From: Lua Development Tools 1.4.2.201804031433 (org.eclipse.ldt.feature.group 1.4.2.201804031433)
To: org.eclipse.equinox.p2.iu; org.eclipse.ldt.core.feature.group [1.4.2.201804031433,1.4.2.201804031433]
Cannot satisfy dependency:
From: Lua Development Tools SDK 1.4.2.201804031433 (org.eclipse.ldt.source.feature.group 1.4.2.201804031433)
To: org.eclipse.equinox.p2.iu; org.eclipse.ldt.feature.group [1.4.2.201804031433,1.4.2.201804031433]
The key error here is
requires 'osgi.bundle; org.eclipse.dltk.core [5.5.0,6.0.0)'
which is saying that a version of the 'org.eclipse.dltk.core' plug-in (bundle in OSGi terminology) with a version of at least 5.5.0 and less than 6.0.0 is required.
The Eclipse 2019-12 release has version 6.0 of this plug-in so it does not match the criteria and the install fails.
I installed earlier versions of Eclipse IDE (Java) and it appears the version right before the one I was trying (2019-12) is the last that will accept installing the LDT plug-in successfully: Eclipse (Java) 2019-09
Hopefully it is a bug that gets fixed in either LDT or Eclipse 2019-12.
There is a workaround that I found here: https://www.eclipse.org/forums/index.php/t/1101907/
The solution is basically to provide the missing resource from a download since it doesn't seem to be available from repositories any more:
Download the runtime for DLTK 5.7.1 as a zip: http://www.eclipse.org/downloads/download.php?file=/technology/dltk/downloads/drops/R5.7/R-5.7.1-201703020501/dltk-core-R-5.7.1-201703020501.zip
In Eclipse, navigate to menu > Help > Install new software...
Click Manage... to go to Available Software Sites dialog
Click Add... use a good name like "LDTK zip", click the "Archive" button and browse to that zip, downloaded from before.
Then when I tried again the install happened correctly and my initial tests indicate that LDT is working as expected.

installing freemarker plugin on eclipse indigo

I was tryi ng to install the freemarker plugin for eclipse Indigo on my machine which runs on Ubuntu 11. I tried to add http://www.freemarker.org/eclipse/update with the name FreeMarker to install new softwares option. But, it complained that there were no repositories. Then, IO manually tried to download the plugin file (freemarker-2.3.19.tar.gz) from http://sourceforge.net/projects/freemarker and tried to copy the contents to /usr/share/eclipse/plugins folder. But, it rejected it complaining that the format of the file contents were incompatible.
Can anyone please help me with this issue.
Thanks in advance.!
You should use the FreeMarker plugin in the JBoss Tools Project, as http://freemarker.org/editors.html says. Where did you get the link to the old plugin? (Also, freemarker-2.3.19.tar.gz is the FreeMarker distribution, and has nothing to do with Eclipse.)
What I finally did is, I downloaded Eclipse Indigo for Java EE from Eclipse official website. It had the market place from where I could easily install the JBoss plugin. All I had to do is install it from within Eclipse and could work on freemarker after that.

FindBugs Plugin In NetBeans.

I get the following error when I try to install FindBugs plugin in Netbeans. Can anyone help me how to resolve -
The plugin org.apache.commons.lang is requested in version 2.4.0.
The following plugin is affected:       FindBugs
Some plugins require plugin Settings API to be installed.
The plugin Settings API is requested in version >= 1.33.1 but only 1.31.1 was found. The following plugin is affected:       FindBugs
Some plugins require plugin UI Utilities API to be installed.
The plugin UI Utilities API is requested in version >= 7.39.1 but only 7.31.2 was found.
The following plugin is affected:       FindBugs
Some plugins not installed to avoid potential installation problems.
As it is answered here, you might be using an old ScanOnDemand plugin, you can add the latest Development Plugins to your Plugins: Plugins > Settings Tab > Add and use the following URL to add a new NB Plugins source:
http://deadlock.netbeans.org/hudson/job/nbms-and-javadoc/lastStableBuild/artifact/nbbuild/nbms/updates.xml.gz
I have tried this solvation, added the source above with name 'Plugin Resource' and checked available plugins. There, Findbugs Integration plugin appeared and installed successfully. When i restarted the ide to finish the installation, it generated an error and never started again.
Thus, i have downloaded netbeans 7.3 from this link and replaced with the old one (7.0.1) on my computer. Now Findbugs plugin is availabe in the list of available plugins without any additional configuration and works flawless. I recommend you to upgrade your ide to 7.3 and solve your problem. This will fix the problems that may occure in the future because of the lack of version of your current netbeans ide.
In addition, after updating the ide, you can use the findbugs plugin installing from this source. This plugin provides to use findbugs explicitly from the inspector.

Eclipse new plugin Project: Not choosable

just an easy quesition but I can't find any answer in this wonderful world wide web...
I just want to create a new Plugin Project based on Eclipse Helios. Normally this feature should be shipped with this version (Version: Helios Service Release 2 Build id: 20110301-1815) but I can't choose it via "file->new->Project". Do I have sth. to install previously?
Thanks a lot for any help guys ... :)
It is also possible to do plugin development with any eclipse classic version. (I am working with 4.2)
For plugin development in eclipse classic version you need to go
Help-->Install New Software--> In work with select version url provided by eclipse it self. e.g. in case of 4.2 Juno it will be Juno - http://download.eclipse.org/releases/juno
It will render all the possible plugin provided by eclipse it self.
In that list there will a Eclipse plugin development environment in General purpose tools.
Or you can get that one by writing plug in filter text box.
Select Eclipse plugin development environment and install it.
Now you can able to do plugin development in classic version also.
Hope this will be helpful.
Install Eclipse for RCP and RAP developers.
If you already installed Eclipse you can add on the Plug-in Environment from within Eclipse
https://www.eclipse.org/forums/index.php/t/273044/
The Plugin Perspective is not installed.
To get it: Help->Install New Software
Work With: --All Available Sites--
In the Filter Box, type "Plug-in"
Look for something that says "General Purpose Tools" and expand it.
Look for "Eclipse Plug-in Development Environment"
Click Next a few times and install it, then restart.
Exact verbiage may depend on your Eclipse version.

Eclipse plug-in editor extension tab show “Generic” in “New” submenu

I am using "eclipse-rcp-helios-SR1-win32-x86_64"
64-bit eclipse running on JDK.
I am trying to add an action in my plugin via menu contribution. When I add "org.eclipse.ui.menus," right-click on it then select "New," I only the "Generic" option. I am expecting to see "menuContibution"
The issue is described in detail here, which also seems to include the solution: link
From what I understand, the version of eclipse I have - helio SR1 - is an SDK version and should have the source included in the package. I am not sure what I need to do to make those additional options show up.
if you have the "Generic" it means that you don't have the source plugins. But you have downloaded the right package (RCP one). I guess your download might be corrupted. Can you try downloading it again from a different mirror?
i am try to this answer is useful.
step-1: Eclipse menu bar Select Help menu
step-2: select Install New Software
step-3: Eclipse project update link (Required version) below image
step-4: Choose Eclipse plugin Development Tool and
step-5: After Next button click to finish.
Eclipse can Restart after working successful.
Installing Eclipse plugin Development Tool, as per Bharat Zala answer, is not enough. It still did not work for me:
I had to install Eclipse SDK and Eclipse Platform SDK packages:
Then it finally worked:
Note:
Lars Vogel in his book "Eclipse Rich Client Platform", in chapter 8 Install Eclipse IDE for RCP development, he advises for to
Download the Eclipse Software Development Kit (SDK) as a recommended Eclipse edition for RCP/PDE development.
Most people probably have installed more mainstream Eclipse editions like Eclipse for Java developers. Installing Eclipse SDK and/or Eclipse Platform SDK as packages to them later should re-create SDK installation as advised by Lars.
It did not work for me even after installing both.
I did go Update site " http://download.eclipse.org/eclipse/updates/4.5" and when it lists the different components.
Please unflag the "Group items by category" check box and Install "Eclipse RCP SDK" and related components.
Thant should fix the issue.
Thanks