【发布时间】:2014-05-23 08:37:10
【问题描述】:
我想创建一个 Spring Boot 应用程序以部署在 Google AppEngine 基础架构上。 GAE 目前仅支持 servlet 2.5 Web 应用程序。
是否可以将 Spring Boot(使用自动配置)与老式 web.xml 结合使用?
例如,我可以使用 contextClass/contextConfigLocation 指向包含@EnableAutoConfiguration 的@Configration 类吗?
所有 Spring Boot 示例似乎都使用带有 main 方法的简单 Application 类来运行应用程序。所以我想知道 Spring Boot 是否支持使用 web.xml 作为启动应用程序的起点?
【问题讨论】:
标签: java spring google-app-engine spring-boot servlet-2.5