Installing Glassfish tools in eclipse luna - eclipse-plugin

Im trying to install Glassfish tools in eclise Luna but I keep getting this error message:
Cannot complete the install because one or more required items could not be found.
Software being installed: GlassFish Tools 7.3.3.201412231459 (oracle.eclipse.tools.glassfish.feature.group 7.3.3.201412231459)
Missing requirement: GlassFish Tools 7.3.3.201412231459 (oracle.eclipse.tools.glassfish.feature.group 7.3.3.201412231459) requires 'org.eclipse.sapphire.feature.group [8.1.0,8.2.0)' but it could not be found
What should I do? Thanks.

It looks like they somehow messed up the plugin dependencies while packaging the plugin version which is currently referenced by the .
To fix it you have to install an slightly older version of the Glassfish Tools manually. To do this in Eclipse click on Help -> Install new software and put the following URL in the upper input field:
http://download.oracle.com/otn_software/oepe/12.1.3.1/luna/repository
Then click enter, after it has fetched the installable packages, choose the Glassfish Tools package and the Oracle Java EE Tools package (both should be version 7.2.0.xxx) and install. The installation can take a while because the oracle repository site is often slow.
See also:
How to configure Glassfish Server in Eclipse Luna manually
Define a New Server choosing GlassFish 3.1 gives Internal Error - Eclipse Luna

see on eclipse marketplace the minimum version of Java required to run GlassFish Tools.
Mars - Java 8
Luna - Java 8
Kepler - Java 7
Juno - Java 6
See more at:
https://marketplace.eclipse.org/content/glassfish-tools

Go with Eclipse Luna + RedHat JBoss WildFly 8.2, which is working just fine.

Related

Error installing PMD on Eclipse Version: 2020-06 (4.16.0)

I recently upgraded to Eclipse Version: 2020-06 (4.16.0) on Windows 10.
My java version is "14.0.1" 2020-04-14
After the upgrade, I attempted to install Eclipse-PMD 2.0 from the Marketplace ( help / Eclipse Marketplace / etc. ) ...I receive the error(s):
Cannot complete the install because some dependencies are not
satisfiable Software being installed: a.jre.javase 14.0.0 Software
being installed: Eclipse PMD Plug-in 2.0.0.202006052026
(ch.acanda.eclipse.pmd.feature.feature.group 2.0.0.202006052026)
Cannot satisfy dependency:
From: Eclipse PMD Plug-in 2.0.0.202006052026 (ch.acanda.eclipse.pmd.feature.feature.group 2.0.0.202006052026)
To: org.eclipse.equinox.p2.iu; ch.acanda.eclipse.pmd.java.feature.feature.group
[2.0.0.202006052026,2.0.0.202006052026] Cannot satisfy dependency:
From: eclipse-pmd Java 2.0.0.202006052026 (ch.acanda.eclipse.pmd.java 2.0.0.202006052026)
To: osgi.ee; (&(osgi.ee=JavaSE)(version=11)) Cannot satisfy dependency:
From: eclipse-pmd Java Support (Optional, JDT Prerequisite) 2.0.0.202006052026 (ch.acanda.eclipse.pmd.java.feature.feature.group 2.0.0.202006052026)
To: org.eclipse.equinox.p2.iu; ch.acanda.eclipse.pmd.java [2.0.0.202006052026,2.0.0.202006052026]
Does anyone have an idea(s) as regards the source of the issue ...if all else fails I may try building the PMD source from the github repo ( https://github.com/eclipse-pmd/eclipse-pmd ) but I cannot imagine why this should be necessary.
I created eclipse-pmd and I can install eclipse-pmd 2.0 from the marketplace with Java 14 and Eclipse 2020-06 without any problems.
From the error message you provided it looks like there are two missing dependencies:
ch.acanda.eclipse.pmd.java requires (&(osgi.ee=JavaSE)(version=11))
several plugins require org.eclipse.equinox.p2.iu and ch.acanda.eclipse.pmd.java
The first issue indicates that you do not run Eclipse with Java 11+. Check the Java version by opening the "Installation Details" dialog: Help > About Eclipse IDE > Installation Details > Configuration. Then look for the system property java.version. If it shows a version lower than 11, then you need to configure Eclipse to run with Java 11+.
The second issue looks like a subsequent error. Since ch.acanda.eclipse.pmd.java couldn't be installed, all plugins that depend on this plugin cannot be installed either. Why org.eclipse.equinox.p2.iu is also mentioned in the error message is unclear to me since eclipse-pmd does not (directly) depend on this plugin and it should be a plugin installed by default in Eclipse.
If this does not fix your problem, then please open a new issue on Github as it is easier to help with problems like this on Github than on Stack Overflow.
You need to run Eclipse with a Java 11 JRE. This is normally done by insuring you have JAVA_HOME set to Java 11, and JAVA_HOME in your path. Alternatively, you can modify eclipse.ini and specify Java 11 as the vm (How to run Eclipse with different Java version?).

Error installing Spring IDE 3.4.0 plugin with Eclipse Kepler: Will not be installed (Spring IDE Roo Support)

I am trying to install the plugin for Spring IDE (3.4.0) using Eclipse Marketplace for Eclipse Kepler (4.3). It is giving the error 'Will not be installed (Spring IDE Roo Support)'.
I also checked the compatibility of Spring IDE version 3.4.0 with Eclipse Kepler 4.3, and it is compatible. Any ideas on how to complete the installation?
Thank you
Prachi
It seems there is some errors on versions 3.4.0 and 4.3.0 (https://marketplace.eclipse.org/content/spring-tool-suite-sts-eclipse-kepler-43).
Yoy could try latest releases from http://spring.io/tools/eclipse, or install STS http://spring.io/tools/sts (imho STS is the best option).
I had the same problem. It seemed to get hung in the provisioning step (83%). I installed the STS and same problem... but I waited a little longer this time and it was successful. This gave me everything I was expecting in the IDE plugin
I am just trying from https://github.com/spring-projects/sts4/wiki/Installation using Neon 2. I have had to stop and start it over and over.

IBM Worklight 6.1: Unable to install in Windows 7

I have installed eclipse juno 4.2.2 but there is a problem in installing worklight
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://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/wdeupdate/plugins/com.worklight.studio.plugin_6.1.0.00-20131126-0630.jar. Read timed out Unable to read repository at http://public.dhe.ibm.com/ibmdl/export/pub/software/mobile-solutions/worklight/wdeupdate/plugins/com.worklight.worklight-builder_6.1.0.00-20131126-0630-developer-edition.jar. Read timed out
Make sure you are using one of these supported versions of Eclipse (for Worklight):
Eclipse Java EE 4.2.2 ("Juno" SR2)
Eclipse Java EE 4.3.1 ("Kepler" SR1)
I have used Eclipse Java EE 4.2.2 in Windows 7 as well, and installed Worklight via the Eclipse Marketplace (Help > Eclipse Marketplace > search for "worklight"). The installation finished successfully.
You either have a network issue, or the service was just temporary unavailable. Everything seems to be working OK now. In other words - try again.

IBM Worklight 6.0 - Installation fails on Eclipse 4.3 "Kepler"

I'm getting the following problem while trying to install Worklight 6 into Eclipse 4.3 "Kepler":
Cannot complete the install because one or more required items could not be found.
Software being installed: IBM jQuery Mobile Tools 6.0.0.201306140658 (com.ibm.webtools.jquery.tools.feature.feature.group 6.0.0.201306140658)
Missing requirement: IBM Web Editor Common 1.2.0.v20130514_1852 (com.ibm.etools.webtools.webedit.common 1.2.0.v20130514_1852) requires 'bundle com.ibm.icu [4.2.1,5.0.0)' but it could not be found
Cannot satisfy dependency:
From: IBM Worklight Studio 6.0.0.201306140657 (com.ibm.imp.tools.feature.feature.group 6.0.0.201306140657)
To: com.ibm.imp.webtools.core.feature.feature.group 1.0.0
Cannot satisfy dependency:
From: Web Tools Core 1.2.0.v20130514_1852 (com.ibm.imp.webtools.core.feature.feature.group 1.2.0.v20130514_1852)
To: com.ibm.etools.webtools.webedit.common [1.2.0.v20130514_1852]
Cannot satisfy dependency:
From: IBM jQuery Mobile Tools 6.0.0.201306140658 (com.ibm.webtools.jquery.tools.feature.feature.group 6.0.0.201306140658)
To: com.ibm.imp.tools.feature.feature.group 6.0.0
I've tried both the marketplace method and installing from a local archive produces the same error. Sounds like a dependency issue but I'm not clever enough to workout what I'm missing.
Worklight 6.0 supports ONLY Eclipse for Jave EE Developers 4.2.2 ("Juno" SR2) or Eclipse Classic 4.2.2 ("Juno" SR2).
Worklight 6.0 will not work on prior versions of Eclipse.
Worklight 6.0 will not work on Eclipse 4.3 "Kepler" - there is no support for it, yet.
After you installed Worklight on 4.2.2 if it does not show up inside of eclipse, try the following
run eclipse withe the -clean option from the command line/terminal
ex.
$ ./eclipse -clean
then restart eclipse as normal, YMMV but it seem to do the trick for most folks with this problem.
This issue is due to corporate proxy.
Main requirement is it supports ONLY Eclipse for Jave EE Developers 4.2.2 ("Juno" SR2) or Eclipse Classic 4.2.2 ("Juno" SR2).
Apart from this you have to do following things to make it work
Window-->Preferences-->General-->Network connection
In drop down list changes Active Provider to Manual and in http/https put address and port number of your proxy.
Worklight 6.1 was released on the 6th of December, and now Kepler is supported.
http://marketplace.eclipse.org/content/ibm-worklight-developer-edition#.UqcEQZNQHIc

Cannot see the Glassfish adapter after installing plugin in Eclipse

I've installed Glassfish 3.1.1 and Eclipse Indigo onto a Win 7 machine but cannot add the Glassfish server via Eclipse's Servers view.
Oracle Glassfish Server Tools 1.8 is also installed but despite this there is no Glassifish entry in the list of avilable server adaptors.
I will continue to scour the web for a way around this but if anyone can advise I'd be grateful.
Thanks
You need to install the JavaEE development edition of Eclipse, and in that go to the Eclipse Marketplace where you can find and install the Glassfish adapter.
I had to restart eclipse two times before it appeared. This seems like a bug to me but I'm new in the Eclipse world