Cannot install Gradle in Eclipse - java

Hi need help on adding gradle in eclipes. I tried to install new software in eclipes update site but i kept on having this error
Cannot complete the install because one or more required items could not be found.
Software being installed: Spring UAA Integration (optional) 3.6.2.201410090827-RELEASE (org.springframework.ide.eclipse.uaa.feature.feature.group 3.6.2.201410090827-RELEASE)
Missing requirement: Spring UAA Integration 3.6.2.201410090827-RELEASE (org.springframework.ide.eclipse.uaa 3.6.2.201410090827-RELEASE) requires 'package com.google.protobuf 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Spring UAA Integration (optional) 3.6.2.201410090827-RELEASE (org.springframework.ide.eclipse.uaa.feature.feature.group 3.6.2.201410090827-RELEASE)
To: org.springframework.ide.eclipse.uaa [3.6.2.201410090827-RELEASE]
I've already tried to add additional update sites to satisfy some dependencies. by exporting this (http://dist.springsource.com/release/TOOLS/composite/e3.7/bookmarks.xml) but still kept on getting the same error.please help me with this.

Related

Deploying and installing my own Eclipse plugin project with it's dependencies

I am developing a plugin project for Eclipse 2021 that will be used by our company only.
This is my first attempt at plugin development.
When I run the plugin in debug mode it works fine but I cannot figure out how to export the plugin correctly with it's dependencies.
When I try to install the exported plugin I get this error:
Operation details
Cannot complete the install because one or more required items could not be found.
Software being installed: binding generator 1.0.0.202201041327 (com.ourcompany.bindingGenerator.plugin 1.0.0.202201041327)
Missing requirement: binding generator 1.0.0.202201041327 (com.ourcompany.bindingGenerator.plugin 1.0.0.202201041327) requires 'osgi.bundle; org.apache.servicemix.bundles.reflections 0.9.12' but it could not be found
I'm trying to find out how I can add the org.apache.servicemix.bundles.reflections 0.9.12 dependency to my exported jar?
I've added the org.apache.servicemix.bundles.reflections 0.9.12 library/plugin to the required Plug-Ins and Automated Management of Dependencies through the Dependencies tab of the plugin.xml but that's it right now...
I'd like to know how to add the missing bundle to my build through the plugin.xml if possible or any other means if not.
The missing bundle itself was added to the target platform definition file through Maven.

Install AspectJ Eclipse

I'm trying to get started with aspect oriented programming.
I'm using latest eclipse (currently 12-2019)
public aspect Observer {
}
This Results in an error
Syntax error on token "aspect", interface expected
According to https://www.eclipse.org/ajdt/downloads
I added
http://download.eclipse.org/tools/ajdt/43/update
as an update site to eclipse
However eclipse tells me that some parts could not be installed
It looks Like some parts are missing
Cannot complete the install because one or more required items could
not be found. Software being installed: AspectJ Development Tools
2.2.3.e43x-RELEASE-20130627-0800 (org.eclipse.ajdt.feature.group 2.2.3.e43x-RELEASE-20130627-0800) Missing requirement: AspectJ 1.7.3.20130613144500-a (org.aspectj.ajde 1.7.3.20130613144500-a) requires 'osgi.bundle; org.eclipse.core.runtime.compatibility 0.0.0'
but it could not be found Cannot satisfy dependency:
From: AspectJ Compiler 1.7.3.20130613144500-a (org.aspectj.feature.group 1.7.3.20130613144500-a)
To: org.eclipse.equinox.p2.iu; org.aspectj.ajde [1.7.3.20130613144500-a,1.7.3.20130613144500-a] Cannot satisfy
dependency:
From: AspectJ Development Tools 2.2.3.e43x-RELEASE-20130627-0800 (org.eclipse.ajdt.feature.group 2.2.3.e43x-RELEASE-20130627-0800)
To: org.eclipse.equinox.p2.iu; org.aspectj.feature.group [1.7.3.20130613144500-a,1.7.3.20130613144500-a]
How could I Get Aspects to run in Eclipse?
Could you help me out?
Your problem caused by the removal of org.eclipse.core.runtime.compatibility plugin from Eclipse 4.6 .
Read more about this problem here.
The correct solution is to:
Install AspectJ from the correct download link.
The most updated to Eclipse 4.10 is: http://download.eclipse.org/tools/ajdt/410/dev/update
Another solution is to:
Uninstall Eclipse.
Install Eclipse 4.3 (matching your AspectJ version) .
Retry AspectJ install.
The more complex solution is:
Locate and build/extract org.eclipse.core.runtime.compatibility jar file from Maven repository.
Put org.eclipse.core.runtime.compatibility jar file into Eclipse plugins directory.
Run eclipse in --clean mode to rebuild and register the added plugin.
Retry AspectJ install.
You might encounter more missing dependencies for org.eclipse.core.runtime.compatibility, eventually will have to load all the related plugins (long effort).

Eclipse Gradle plugin not installing

I have been trying to add Gradle plugin for eclipse but it shows error. Any help would be appreciated.
check screenshot http://io.putul.me/Ha5Jbc
The detail box has the following information.
Cannot complete the install because one or more required items could not be found.
Software being installed: Spring UAA Integration (optional) 3.6.1.201408250654-RELEASE (org.springframework.ide.eclipse.uaa.feature.feature.group 3.6.1.201408250654-RELEASE)
Missing requirement: Spring UAA Integration 3.6.1.201408250654-RELEASE (org.springframework.ide.eclipse.uaa 3.6.1.201408250654-RELEASE) requires 'package org.springframework.uaa.client 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Spring UAA Integration (optional) 3.6.1.201408250654-RELEASE (org.springframework.ide.eclipse.uaa.feature.feature.group 3.6.1.201408250654-RELEASE)
To: org.springframework.ide.eclipse.uaa [3.6.1.201408250654-RELEASE]
the same problem happened to me but after updating eclipse to version 4.4 - put in help >> install new software http://download.eclipse.org/eclipse/updates/4.4 - the gradle installed correctly

Maven integrating in Eclipse RAD impossible

I'm using RAD and since the morning I'm trying to integrate Maven with Eclipse(RAD) by using that command:
Help -> Instal New Software, then putting this link:
http://download.eclipse.org/m2e-wtp/releases/
then checked "Maven integration for Eclipse"
the errors occured below:
Cannot complete the install because of a conflicting dependency.
Software being installed: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 ( org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
Software currently installed: Shared profile 1.0.0.1376390079411 (SharedProfile_bootProfile 1.0.0.1376390079411)
Only one of the following can be installed at once:
Eclipse Jobs Mechanism 3.5.2.R36x_v20110419 (org.eclipse.core.jobs 3.5.2.R36x_v20110419)
Eclipse Jobs Mechanism 3.5.300.v20130429-1813 (org.eclipse.core.jobs 3.5.300.v20130429-1813)
Eclipse Jobs Mechanism 3.5.101.v20120113-1953 (org.eclipse.core.jobs 3.5.101.v20120113-1953)
Cannot satisfy dependency:
From: Shared profile 1.0.0.1376390079411 (SharedProfile_bootProfile 1.0.0.1376390079411)
To: org.eclipse.core.jobs [3.5.2.R36x_v20110419]
Cannot satisfy dependency:
From: Equinox Provisioning Discovery 1.0.101.v20130327-2119 (org.eclipse.equinox.p2.discovery.compatibility 1.0.101.v20130327-2119)
To: bundle org.eclipse.equinox.p2.transport.ecf 1.0.0
Cannot satisfy dependency:
From: Equinox Provisioning ECF based Transport 1.1.0.v20130516-1858 (org.eclipse.equinox.p2.transport.ecf 1.1.0.v20130516-1858)
To: bundle org.eclipse.core.jobs 3.5.100
Cannot satisfy dependency:
From: m2e Marketplace 1.4.0.20130601-0317 (org.eclipse.m2e.discovery 1.4.0.20130601-0317)
To: bundle org.eclipse.equinox.p2.discovery.compatibility 0.0.0
Cannot satisfy dependency:
From: m2e - Maven Integration for Eclipse 1.4.0.20130601-0317 (org.eclipse.m2e.feature.feature.group 1.4.0.20130601-0317)
To: org.eclipse.m2e.discovery [1.4.0.20130601-0317]
I have no idea what mentioned "Eclipse Jobs Mechanism... " is I can't find its in the installed software.
Tried to use another repositories like:
http://bitstrings.github.com/m2e-connectors-p2/releases
http://repo1.maven.org/maven2/.m2e/connectors/m2eclipse-mavenarchiver/0.15.0/N/0.15.0.201207090125/
They let me start the instalation but It's stop in +/- 40 %...
Anyone could help me install Maven in my IDE?
Thank You in advance
Did you use the maven installation instructions by IBM?
https://www.ibm.com/developerworks/community/wikis/form/anonymous/api/wiki/2fad2df2-9c68-4aa3-abba-01e910211998/page/5531e600-93c7-46f6-86f4-a570b1bcf391/attachment/9f11dc95-a9ae-4522-9ed1-2c8a7ca165cd/media/RAD_m2e-Nov(update%20Jun%202012).pdf
I have ceased installing m2e within RAD "myself" (in the sense of using an update site in Install New Software). Rather I use the option "Maven" via the IBM Installation Manager.
Is there any particular reason you are installing Maven using that update site link instead of installing it using Installation Manager? To install Maven using Installation Manager you just need to open IM and select the checkbox for Maven.
In case somebody still has to use this old version of RAD:
http://download.jboss.org/jbosstools/updates/m2eclipse-wtp/ does not work - it points to the latest version of m2e which requires a newer base-eclipse.
Instead, add all of the following locations:
http://download.eclipse.org/technology/m2e/releases/1.4/
http://download.jboss.org/jbosstools/updates/m2e-extensions/m2eclipse-wtp/
http://download.jboss.org/jbosstools/updates/m2e-extensions/m2e-mavenarchiver/

Problems installing m2eclipse plugin to Indigo: 'bundle org.eclipse.zest.core 0.0.0' could not be found

From Indigo Available Software screen I select maven integration for Eclipse , then Next. got the following error message (blank lines added for readability):
Cannot complete the install because one or more required items could not be found.
Software being installed: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
Missing requirement: Maven Integration for Eclipse (Editors) 0.12.1.20110112-1712 (org.maven.ide.eclipse.editor 0.12.1.20110112-1712) requires 'bundle org.eclipse.zest.core 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Maven Integration for Eclipse (Required) 0.12.1.20110112-1712 (org.maven.ide.eclipse.feature.feature.group 0.12.1.20110112-1712)
To: org.maven.ide.eclipse.editor [0.12.1.20110112-1712]
You probably have an old update site. Version 1.0 is already available and your log shows 0.12.x. Check: http://eclipse.org/m2e/download/
Use: http://download.eclipse.org/technology/m2e/releases

Categories