简体   繁体   中英

Spring-boot and appengine

I try to use spring-boot with appengine.

For now, I can start spring-boot with mvn spring-boot:run and appengine with mvn appengine:devserver.

But, when I start appengine, I can't get my REST url (404 WARNING: No file found for: /hello)

What did I miss? Can you give me some doc for this ?

Regards

Google App Engine only supports Servlet 2.5. This can be a bit of an issue when using spring boot since that does not officially support Servlet 2.5.

However, there is a Spring Boot Legacy project which can help you deploy spring boot applications on Servlet 2.5. That can be found at https://github.com/scratches/spring-boot-legacy .

There is also an example of using Spring boot in conjunction with GAE, https://github.com/scratches/spring-boot-sample-gae .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM