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?
Having Appengine with legacy bundles with Java17 works. We are trying to create a new project with Java21, and we are getting these errors:
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?