Issue in TestNG with Eclipse - eclipse

I have tried with the below url in Eclipse to install the TestNG Plugin..
Select Help / Install new software.
Search for new features to install.
New remote site.
For Eclipse 3.4 and above, enter http://beust.com/eclipse.
For Eclipse 3.3 and below, enter http://beust.com/eclipse1.
But Unfortunately Both gets Connection refused..
I have downloaded the files from https://github.com/cbeust/testng-eclipse/
When I extract the zip, It has the following things:
Scripts,
testng-eclipse-feature,
testng-eclipse-plugin,
testng-eclipse-Update-Site,
.cvsignore,
.gitignore,
.project,
.travel.yml,
changes.log,
new-release,
pom.xml,
README.md
I have copied features and plugin and pasted in the eclipse feature and plugin folder respectively. Now If i create TestNG class,
I am getting following error "The selected wizard could not be started.
Plug-in org.testng.eclipse was unable to load class org.testng.eclipse.wizards.NewTestNGClassWizard.
org.testng.eclipse.wizards.NewTestNGClassWizard"
Can any one help on this??
Thanks

You are using an older version of Eclipse, please upgrade to Luna and give it a try it would certainly work.
1)First try the same method of yours from install new software.
2)Go to Eclipse Market place and just type TestNG and search, it would display the plugin and install it.

Related

Unable to install IBM Bluemix Eclipse plugin for Luna and Mars

I am tried to install IBM Bluemix eclipse plugin for Eclipse Mars from Eclipse Market place. Eclipse listing all required libraries and dependencies but installation its showing following error as shown in image.
Note:
I was able to download install other eclipse plugins like PyDev,Subclipse etc.
Any suggestions or links? Thank you :)
Which version of Eclipse are you using? I just tried with the JEE Package for Mars SR1: https://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/mars1. Then, search for the Eclipse marketplace entry from Eclipse and do the install.
and I can complete the install successfully. It may just be a temporary outage on the server. Would you mind to try it again?
If the problem still exist, can you list out the details of your setup, e.g. Eclipse package that you start with, platform, steps to reproduce, etc. so I can try to reproduce the problem.

Maven for Eclipse plugin m2ecplise installation

I want to try out this websocket implementation:
https://jwebsocket.org/documentation/installation-guide/eclipse
The project is provided with maven. Thus I want to install the m2eclipse plugin as suggested on their site.
The problem is that the provided link does not work:
http://m2eclipse.sonatype.org/sites/m2e
I also tried this one:
http://eclipse.org/m2e/download/
Both are not working.
Can someone give me a hint how to install this plugin?
That information is outdated, referring to Eclipse 3.3 and 3.5.
Maven integration is part of Eclipse itself now. If you download a current Eclipse bundle it can be part of it. http://www.eclipse.org/downloads/compare.php?release=kepler
If you downloaded the "classic" version go to Help > Install New Software, select the update site for your version (should be "Kepler") and select the Maven integration via filter or category ("Collaboration").

Add language pack to eclipse RCP

I downloaded the eclipse language pack from the following site:
http://download.eclipse.org/technology/babel/babel_language_packs/R0.10.1/indigo/indigo.php
I put the downloaded plugins in the plugin folder of my eclipse installation.
My question: How do I use these plugins with my eclipse RCP application now?
I seem to be unable to add them to my application because I can select them no where. I also tried to drop them into the plugin folder of my RCP application after I exported the application and adding the plugin names to the config.ini but I had no success.
I'd appreciate any help on this topic since I'm stuck :(
Since 3.6 or so, Eclipse doesn't try to find additional plugins in the plugins folder; it will only consider what has been installed with p2 (i.e. via the "Install New Software" menu or the marketplace).
There should be a dropins folder next to the plugins folder; put the language packs in there and Eclipse should automatically pick them up.
See the documentation for details.

Installation of FindBugs plugin with Eclipse IDE for Java EE Developers

I'm struggling to get the Eclipse FindBugs plugin to work and am sure there's a schoolboy error being made somewhere.
I extracted the file findbugs-2.0.2-rc2.zip to a local folder C:\Program Files\findbugs-2.0.2-rc2 and running findbugs.bat, FindBugs works fine running it over a local Java (Eclipse) project.
I added the FindBugs update site, it found "FindBugs Feature, 2.0.1.20120712" and installed it. Restarting, right-clicking on an open Java Project doesn't display the "FindBugs" option (that this video shows).
I looked in Window > Preferences to try to find a way to inform the plugin of the local FindBugs installation (in Program Files), but couldn't find anything.
Uninstalling "FindBug Feature", I tried extracting the FindBugs Eclipse plugin zip file into Eclipse's plugins folder, but after a restart, saw no difference.
Help > About Eclipse > Installation Details > Installed Software lists "FindBugs Feature 2.0.1.20120712".
Can anyone please offer a pointer on where I'm going wrong here? Thanks!
Windows 7, Eclipse IDE for Java EE Developers Juno SR1, JDK 1.7.0_09, FindBugs 2.0.2-rc2
As suggested above, problem is likely caused by not having appropriate write access to the C:\Program Files\Eclipse\plugins folder.
Solution:
Close Eclipse. Restart Eclipse as Administrator (right click - Run as Administrator). Reinstall plugin. Restart Eclipse.
It looks like the Findbugs plugin wasn't installed properly and/or disabled by Eclipse. There can be several causes.
Multiple versions of the same plugin. To make sure this isn't the case, remove all Findbugs versions (installed manually and via the marketplace), and reinstall one (preferably via the marketplace). Watch for any warnings during installation.
There is a (dependency) conflict with another plugin. However, if this is the case I think Eclipse will warn in the log which other plugin is the cause of the conflict.
Rights problem. Make sure you have write permissions in the main Eclipse folder and all it's child folders.
I remember reading somewhere that installing Eclipse under the C:\Program Files\ in Windows can also be causing problems. Try moving Eclipse to a different folder, e.g. C:\Eclipse
Hi I also faced the similar problem but from my own experience i can suggest you the solution :-
Plz ensure that you are using eclipse version 3.6 or higher. findbugs 2.0 is not compatible with Eclipse 3.5(Eclipse Galileo).
1) Plz extract the findbugs zip file into eclipse folder(wher your eclipse is installed). This will automatically move findbug plugins into eclipse plugins folder. Restart the eclipse and you will find findbugs option on right clicking on project.
2) if 1 step does not work plz remove all the findbug jars for the eclipse plugins folder and place the complete folder into the eclipse dropins folder. Restart the eclipse and you will see the difference.
You can follow these step's to make findbugs work in your eclipse.
1.Install FireBug plugin from marketplace.
Help->Eclipse Marketplace ->then search for FindBugs
2.Configure FindBug for your project
using Maven Without Maven
This worked fine for me using eclipse juno.

Offine installation of PMD plugin for Eclipse IDE

I am trying to download and install PMD plugin for Eclipse offline but did not succeed in doing so.
I downloaded following 2 zips:
net.sourceforge.pmd.eclipse-3.2.6.v200903300643.zip (this version matches with the one which I installed online)
pmd-eclipse-1.8.0
Not sure which one to use and how to configure it in Eclipse.
I searched a lot but did not find proper steps for the offine installation and configuration.
In case it contains site archieve:
Goto Help->Install New Software
Click Add...
In the Add Repository Dialog click Archive and point to your zip. Rest of the installation is as you would do with an online installation.
Else:
Extract the zip
Copy all plugins to your target eclipse plugins folder
Copy all features to your target eclipse features folder
launch eclipse with -clean option
You can get the latest 4.0 version of the plugin by pointing your Eclipse installer here:
http://sourceforge.net/projects/pmd/files/pmd-eclipse/update-site/