Skip to content
This repository has been archived by the owner on Jul 9, 2022. It is now read-only.

Error when trying to install Eclipse integration gradle #25

Open
venta7 opened this issue Mar 27, 2014 · 10 comments
Open

Error when trying to install Eclipse integration gradle #25

venta7 opened this issue Mar 27, 2014 · 10 comments

Comments

@venta7
Copy link

venta7 commented Mar 27, 2014

I've got this error when trying to install Eclipse integration gradle:

Cannot complete the install because one or more required items could not be found.
Software being installed: Spring Dashboard (optional) 3.4.0.201310051510-RELEASE
(org.springsource.ide.eclipse.dashboard.feature.group 3.4.0.201310051510-RELEASE)
Missing requirement: Getting Started With Spring Integration 3.4.0.201310051510-RELEASE (org.springsource.ide.eclipse.commons.gettingstarted 3.4.0.201310051510-RELEASE) requires 'bundle org.codehaus.jackson.core 0.0.0' but it could not be found
Cannot satisfy dependency:
From: Spring Dashboard (optional) 3.4.0.201310051510-RELEASE(org.springsource.ide.eclipse.dashboard.feature.group 3.4.0.201310051510-RELEASE)
To: org.springsource.ide.eclipse.commons.gettingstarted [3.4.0.201310051510-RELEASE]

The system is Ubuntu 12.04 and Eclipse 4.2.
How can I fix this dependency?
Thank you!

@kdvolder
Copy link
Contributor

The system is Ubuntu 12.04 and Eclipse 4.2.

Can you be more precise. Eclipse distributions, come in several flavors. JEE, RCP etc. Which flavour is yours?

Also how are you installing the tools. Via marketplace? From a update site? Which update site?

If you give me those details I can try to reproduce the installation issue and attempt to fix it at source (i.e. make sure missing dependency is available on the update site).

In the mean time you can probably work around the problem. There are two options you can try:

  1. only install gradle tooling, do not installt the 'optional' dashboard and UAA components. You most likely do not need them. And if you don't install them the error above will probably go away because it is via these components that the jackson dependency is being pulled in.
  2. Add this update site to your 'Avaliable Software Sites'. (In Preferences >> Install / Update >> Available Software Sites)
    http://download.eclipse.org/tools/orbit/downloads/drops/R20140114142710/repository/

@venta7
Copy link
Author

venta7 commented Mar 28, 2014

Hi, Thanks for your response!
The distribution is Eclipse Juno (Eclipse IDE for Java Developers).

I've installed Eclipse 4.3.2 Kepler Standard Edition and it displayed the same error.

To be honest I didn't know that I probably will not need the dashboard and UAA components so I've tried to install them also together with Gradle tooling.

Since I didn't find other solution yesterday I've installed Spring Tools Suite from Eclipse marketplace first and then Gradle plugin with no issues at all.

As you point it out - probably I'll not need them anyway but I didn't know at that time.

Thanks a lot for clarifying this for me!

EDIT: I forgot to mention that I was using the following update site:
http://dist.springsource.com/release/TOOLS/gradle
(from Installation instruction here at github)

@kdvolder
Copy link
Contributor

To be honest I didn't know that I probably will not need the dashboard and UAA components so I've tried to install them also together with Gradle tooling.

Yes of course. And this should work. It doesn't then there must be something missing from the update site.
I was just suggesting not installing them as a quick workaround.

Thanks for the details. I can probably reproduce and fix the issue with that information.

@monkeyhybrid
Copy link

Just thought I'd add, I'm seeing the same error when trying to install 'Extensions / Gradle Integration' from the update site http://dist.springsource.com/release/TOOLS/gradle.

It installs fine if I deselect the optional components, as suggested by @kdvolder.

I'm using Eclipse 4.3.2 (Standard), with latest Oracle Java, and a handful of Android / WTP plugins.

@ToolmakerSteve
Copy link

Sep 7, 2014 - this error continues to happen, when attempt to install gradle integration from dist.springsource.com, unless only select sub-item Gradle IDE.

@kdvolder
Copy link
Contributor

kdvolder commented Sep 8, 2014

I just tried installing from http://dist.springsource.com/snapshot/TOOLS/gradle/nightly into a fresh downloaded copy of "eclipse 4.4 for Java Developers". It worked fine.

It could be there are certain install scenarios that have issues still, but without precise details on what you are trying to do I cannot reproduce it.

@chrisfabri
Copy link

I've just downloaded a fresh copy of Eclipse IDE for Java Developers - specifically,

Eclipse IDE for Java Developers
Version: Luna Service Release 1 (4.4.1)
Build id: 20140918-0600

I then try to download gradle support, "Gradle Integration for Eclipse (4.4) 3.6.1.RELEASE", via

http://marketplace.eclipse.org/content/gradle-integration-eclipse-44#.VCb1oi5dWyc

During the gradle install process, I get the following error - looks like it needs other things which it cannot find:

The following solutions are not available: Gradle Integration for Eclipse (4.4) 3.6.1.RELEASE (id=org.gradle.toolingapi.feature.feature.group, site=http://dist.springsource.com/release/TOOLS/update/e4.4/)

If I exclude the items marked as 'optional' for the gradle install, the error is unchanged.

Now, looking over spring tools..

http://dist.springsource.com/release/TOOLS/update/e4.4/

there are quite a few items - what's actually needed for gradle support? Would rather not have to install the whole lot but just what's needed.

@kdvolder
Copy link
Contributor

The only thing you need to install from http://dist.springsource.com/release/TOOLS/update/e4.4/
is 'Gradle IDE' under 'Core / Eclipse Integration Gradle'. I tried installing it with Eclipse 4.4 and it installs fine. However be aware that a bug in Eclipse 4.4.1 prevents it from working.

There is already a workaround for the bug. See details here:
https://issuetracker.springsource.com/browse/STS-3922

@kdvolder
Copy link
Contributor

I tried installing from marketplace into Eclipse 4.4.1 for Java developers.

I confirm that markeptlace entry doesn't install with the error exactly as reported by @chrisfabri
When I only install the 'Gradle IDE' component and not the three other pieces it works however.

We should probably update marketplace entries in the same way (i.e. so it only installs the one Gradle IDE component).

@andrew-sumner
Copy link

I just tried installing from http://dist.springsource.com/snapshot/TOOLS/gradle/nightly into a fresh install of eclipse-jee-luna-SR1-win32-x86_64. This broke my ability to connect to the marketplace.

The work around https://issuetracker.springsource.com/browse/STS-3922 did exactly the same thing (ie broke my ability to connect to the marketplace)

I am behind a corporate proxy.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

6 participants