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

Error in installing gradle plugin-Gradle Integration for Eclipse(4.4) #52

Open
KavithaKrishna opened this issue Oct 24, 2014 · 4 comments

Comments

@KavithaKrishna
Copy link

Hi,
I am using STS 3.1.0 version and trying to install gradle plugin-Gradle Integration for Eclipse(4.4),but I am facing the problem while trying to install.
I am getting following error.

Provisioning exception
org.eclipse.equinox.p2.core.ProvisionException: Unable to read repository at http://download.springsource.com/release/TOOLS/third-party/m2e-sts310/site.xml.
at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.loadActualSiteFile(UpdateSite.java:233)
at org.eclipse.equinox.internal.p2.updatesite.UpdateSite.load(UpdateSite.java:144)
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.initializeRepository(UpdateSiteMetadataRepositoryFactory.java:99)
at org.eclipse.equinox.internal.p2.updatesite.metadata.UpdateSiteMetadataRepositoryFactory.load(UpdateSiteMetadataRepositoryFactory.java:59)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:758)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.addChild(CompositeMetadataRepository.java:165)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepository.(CompositeMetadataRepository.java:105)
at org.eclipse.equinox.internal.p2.metadata.repository.CompositeMetadataRepositoryFactory.load(CompositeMetadataRepositoryFactory.java:122)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.factoryLoad(MetadataRepositoryManager.java:57)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:758)
at org.eclipse.equinox.internal.p2.repository.helpers.AbstractRepositoryManager.loadRepository(AbstractRepositoryManager.java:651)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:96)
at org.eclipse.equinox.internal.p2.metadata.repository.MetadataRepositoryManager.loadRepository(MetadataRepositoryManager.java:92)
at org.eclipse.epp.internal.mpc.ui.operations.AbstractProvisioningOperation.addRepositories(AbstractProvisioningOperation.java:91)
at org.eclipse.epp.internal.mpc.ui.operations.ProfileChangeOperationComputer.computeInstallableUnits(ProfileChangeOperationComputer.java:262)
at org.eclipse.epp.internal.mpc.ui.operations.ProfileChangeOperationComputer.run(ProfileChangeOperationComputer.java:123)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)
Caused by: java.io.IOException: Server returned HTTP response code: 403 for URL: http://download.springsource.com/release/TOOLS/third-party/m2e-sts310/site.xml
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1625)
at org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFileTransfer.getDecompressedStream(UrlConnectionRetrieveFileTransfer.java:542)
at org.eclipse.ecf.provider.filetransfer.retrieve.UrlConnectionRetrieveFileTransfer.openStreams(UrlConnectionRetrieveFileTransfer.java:312)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:879)
at org.eclipse.ecf.provider.filetransfer.retrieve.AbstractRetrieveFileTransfer.sendRetrieveRequest(AbstractRetrieveFileTransfer.java:570)
at org.eclipse.ecf.provider.filetransfer.retrieve.MultiProtocolRetrieveAdapter.sendRetrieveRequest(MultiProtocolRetrieveAdapter.java:106)
at org.eclipse.equinox.internal.p2.transport.ecf.FileReader.sendRetrieveRequest(FileReader.java:422)

Can any one please help me to resolve this problem..?

I even tried installing the gradle using below URL.

http://dist.springsource.com/snapshot/TOOLS/gradle/nightly (latest development snapshot)
http://dist.springsource.com/milestone/TOOLS/gradle (latest milestone build)
http://dist.springsource.com/release/TOOLS/gradle (latest release)

but all in vain.I will end up getting the following eror.

Unable to read repository at http://dist.springsource.com/snapshot/TOOLS/gradle/nightly/site.xml.
Unable to read repository at http://dist.springsource.com/snapshot/TOOLS/gradle/nightly/site.xml.
Server returned HTTP response code: 403 for URL: http://dist.springsource.com/snapshot/TOOLS/gradle/nightly/site.xml

please help me to resolve .

Thanks.

@kdvolder
Copy link
Contributor

STS 3.1.0 is pretty old. Can you try using something recent (like the current version of STS which is 3.6.1)?

@nilskp
Copy link

nilskp commented Oct 30, 2014

I'm getting this when trying to install from Eclipse Marketplace:

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

@BoykoAlex
Copy link
Contributor

Try not including “org.gradle.toolingapi.feature”. I’m not sure why it’s there and what it does. The tooliapi plugin project and feature is included into “Gradle IDE” feature and this is probably the source of the error.
This issue is not preventing you from installing Gradle Eclipse plugin, correct? Or is it more serious than it looked to me?

On Oct 30, 2014, at 17:00, Nils Kilden-Pedersen [email protected] wrote:

I'm getting this when trying to install from Eclipse Marketplace:

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

Reply to this email directly or view it on GitHub.

@nilskp
Copy link

nilskp commented Oct 30, 2014

Yeah, disabling that did the trick. It doesn't say "Optional", so I had it checked at first.

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

4 participants