我使用spring-boot开发web服务,但我不想使用WsConfigurerAdapter
来定义WSDL和所有,因为我想将我的战争部署到WAS7并且它不支持Servlet 3.0。那么我如何在我的应用程序中添加web.xml
配置。
答案 0 :(得分:3)
Spring Boot不支持开箱即用的Servlet 2.5,但您可以使用Spring Boot Legacy来完成工作。请查看Google App Engine sample application以获取有关如何使用Spring Boot Legacy和web.xml
的示例。
您可能也对this Spring Boot issue感兴趣,它建议将Spring Boot Legacy作为Spring Boot的正式部分。