Skip to content

Cloud Endpoints not working with Appengine Java21 with legacy bundles #83

Description

@TheCloudGate

Having Appengine with legacy bundles with Java17 works. We are trying to create a new project with Java21, and we are getting these errors:

  • java.lang.IllegalStateException: class com.google.api.control.ServiceManagementConfigFilter is not a jakarta.servlet.Filter
  • java.lang.IllegalStateException: class com.google.api.control.extensions.appengine.GoogleAppEngineControlFilter is not a jakarta.servlet.Filter
  • jakarta.servlet.UnavailableException: Servlet class com.google.api.server.spi.EndpointsServlet is not a jakarta.servlet.Servlet

Is there a way to exclude the old javax servlet dependency from the endpoints-java dependency and use jakarta instead? Otherwise, are there other alternatives to use the Cloud Endpoints Framework in Java21?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions