Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot Install Cloud Tools for Eclipse - javax.servlet 2.5.0 could not be found #3678

Open
WilliamRisser opened this issue Jun 25, 2022 · 7 comments

Comments

@WilliamRisser
Copy link

I am following the instructions on https://cloud.google.com/eclipse/docs/quickstart

When I attempt to install the Cloud Tools for Eclipse from the Eclipse Marketplace, I encounter the error:

Cannot complete the install because one or more required items could not be found. Software being installed: Google Cloud Platform for Eclipse 1.8.5.202108061424 (com.google.cloud.tools.eclipse.suite.feature.feature.group 1.8.5.202108061424) Missing requirement: Cloud Tools for Eclipse App Engine Local Server 0.1.0.202108052157 (com.google.cloud.tools.eclipse.appengine.localserver 0.1.0.202108052157) requires 'osgi.bundle; javax.servlet 2.5.0' but it could not be found Cannot satisfy dependency: From: Google Cloud Platform for Eclipse 1.8.5.202108061424 (com.google.cloud.tools.eclipse.suite.feature.feature.group 1.8.5.202108061424) To: org.eclipse.equinox.p2.iu; com.google.cloud.tools.eclipse.appengine.localserver [0.1.0.202108052157,0.1.0.202108052157]

I am running Eclipse
Version: 2022-06 (4.24.0)
Build id: 20220609-1112

Running Eclipse with vm jdk-11.0.15.
Windows 10.

How do I get Cloud Tools for Eclipse to install?

Thanks

@chanseokoh
Copy link
Contributor

The error says the Cloud Tools for Eclipse (CT4E) requires Servlet 2.5.0, and it doesn't seem available in newer Eclipse versions. Admittedly, 2.5.0 is super old.

In any case, people reported that CT4E doesn't work with recent Eclipse versions.

@elefeint
Copy link
Contributor

We've seen Eclipse remove old versions of Hamcrest from current repos, too, causing similarish issues.

@elefeint elefeint added the p2 label Jun 30, 2022
zhumin8 added a commit that referenced this issue Aug 1, 2022
update readme with info to reflect that Eclipse 4.22 and later are currently not supported. Eclipse latest is currently on 4.24 now and 4.25 will come out soon.
Related issues got fired in #3659, #3660, #3678; attempts to fix in #3661 but no progress since.
Suggest adding this to readme and removing when this issue actually get fixed.
@zhumin8 zhumin8 added p3 type: bug and removed p2 labels Aug 1, 2022
zhumin8 added a commit that referenced this issue Aug 1, 2022
update readme with info to reflect that Eclipse 4.22 and later are currently not supported. Eclipse latest is currently on 4.24 now and 4.25 will come out soon.
Related issues got fired in #3659, #3660, #3678; attempts to fix in #3661 but no progress since.
Adding this to readme. Remove when this issue actually get fixed.
@nbartels
Copy link

nbartels commented Jan 4, 2023

We solved this using Eclipse 2021-09, install the Cloud Tools and update Eclipse afterwards. So I have 2022-12 with cloud tools running. Maven had some problems with this, but they are gone for now.

@lqiu96 lqiu96 added p4 and removed p3 labels Jun 27, 2023
@TheodorStorm
Copy link

Installing Eclipse 2021-09 does no longer seem to be a solution. After installing Eclipse 2021-09 and trying to install Google Cloud Tools, an error message appears:

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=).
Result of processing steps.
OK
OK
Public key not found for 8122282445186051625.
OK
Result of processing steps.
OK
OK
Public key not found for 8074478291308066379.
OK

Tested on Windows 11 and MacOS 13.4 with the same results.

@hugopascual
Copy link

Results the same to me. I install the 2021-09 version of eclipse but the instalation of Google Cloud Tools give me the same error.
An error occurred while collecting items to be installed

session context was:(profile=_home_hugo_eclipse_jee-2021-09_eclipse, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Result of processing steps.
OK
OK
Public key not found for 6640597757109451687.
OK
Result of processing steps.
OK
OK
Public key not found for -8587782299385769255.
OK
Result of processing steps.
OK
OK
Public key not found for -8587782299385769255.
OK
Result of processing steps.
OK
OK
Public key not found for -3201949265353332372.
OK
Result of processing steps.
OK
OK
Public key not found for 6640597757109451687.
OK
Result of processing steps.
OK
OK
Public key not found for -5034155639734203956.
OK
Result of processing steps.
OK
OK
Public key not found for 8074478291308066379.
OK
Result of processing steps.
OK
OK
Public key not found for 6640597757109451687.
OK

Someone knows how to solve it?

@mh114
Copy link

mh114 commented Oct 26, 2023

Same here, with Eclipse 2021-09:

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=).
Result of processing steps.
OK
OK
Public key not found for 6640597757109451687.
OK

What gives? 🤔

@Shutterst0ck
Copy link

Shutterst0ck commented Jan 2, 2024

I can confirm that it works with 4.15

#3720 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants