Spring boot application deploy-able on Google App Engine Standard
Spring-boot comes with an embedded server and in order to run in App-Engine Standard environment, the conditions for the environment should be met. For the same, in this project, precisely in this commit : 2a67970d3 changes have been made to detach embedded server and attach with app-engine-standard-env specific configurations.
In order to explore and make use of this project, assumptions :
- One have a Google account , i.e. further a Google Cloud account.
- One already have a active project on Google Cloud Platform.
- Local IDE linked to Google Cloud tool/plugin or Cloud SDK installed
- There is no need for billing to be enabled for your app-engine project. (As this standard)
The following guides illustrate how to use some features concretely:
- Google App Engine Standard Environment
- Spring-boot-docs
- Building a RESTful Web Service
- Serving Web Content with Spring MVC
- Building REST services with Spring
Error: Failed to execute goal org.apache.maven.plugins:maven-war-plugin:3.2.3:war (default-war) on project spring-boot-app-engine-standard: Error assembling WAR: webxml attribute is required (or pre-existing WEB-INF/web.xml if executing in update mode)
Resolution: For google-app-engine project (standard) you have to add appengine-web.xml in the aforementioned path. This configure is required for applications running in Google App Engine.
Error: No plugin found for prefix 'appengine' in the current project and in the plugin groups [org.apache.maven.plugins, org.codehaus.mojo] available from the repositories
Resolution: app-engine plugin description is missing or wrong in pom.xml.