From 8d8412376230f46658c834ee315709e0db35d23f Mon Sep 17 00:00:00 2001 From: zhanhb Date: Thu, 28 Jul 2016 13:51:31 +0800 Subject: [PATCH] Fix `spring-boot-legacy` version Closes gh-6492 --- spring-boot-docs/src/main/asciidoc/howto.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc index 42cdf84943..2326133fd7 100644 --- a/spring-boot-docs/src/main/asciidoc/howto.adoc +++ b/spring-boot-docs/src/main/asciidoc/howto.adoc @@ -3085,7 +3085,7 @@ etc.) so you can't use the same application out of the box in a Servlet 2.5 con It *is* however possible to run a Spring Boot application on an older container with some special tools. If you include `org.springframework.boot:spring-boot-legacy` as a dependency (https://github.com/scratches/spring-boot-legacy[maintained separately] to the -core of Spring Boot and currently available at 1.0.0.RELEASE), all you should need to do +core of Spring Boot and currently available at 1.0.2.RELEASE), all you should need to do is create a `web.xml` and declare a context listener to create the application context and your filters and servlets. The context listener is a special purpose one for Spring Boot, but the rest of it is normal for a Spring application in Servlet 2.5. Example: