cloudendpoints / endpoints-java

A Java framework for building RESTful APIs on Google App Engine
Apache License 2.0
32 stars 35 forks source link

Servlet 3.1 #126

Closed elharo closed 6 years ago

elharo commented 6 years ago

Following along with the tutorial at https://cloud.google.com/endpoints/docs/frameworks/java/get-started-frameworks-java I gather that this is expected to be deployed to the App Engine Standard java8 runtime.

This runtime provides version 3.1 of the Java Servlet API. However this project specifies version 2.5 of the servlet API in gradle.properties.

We should probably upgrade unless it's also necessary to support the deprecated java7 runtime. If so, then a more complex fix may be needed.

patflynn commented 6 years ago

@tangiel ping. the servlet API dep would ideally be 'provided' scope in the pom.xml.

patflynn commented 6 years ago

this is a high priority bug as any java 8 users on 3.1 api will be blocked from using this dep.

tangiel commented 6 years ago

129