diff --git a/spring-boot-docs/src/main/asciidoc/howto.adoc b/spring-boot-docs/src/main/asciidoc/howto.adoc
index 46b8627de3..2e9ad17e71 100644
--- a/spring-boot-docs/src/main/asciidoc/howto.adoc
+++ b/spring-boot-docs/src/main/asciidoc/howto.adoc
@@ -3081,8 +3081,9 @@ normal in a Spring Boot application (you normally only have one application cont
=== Use Lettuce instead of Jedis
The Spring Boot starter (`spring-boot-starter-data-redis`) uses
https://github.com/xetorthio/jedis/[Jedis] by default. You need to exclude that dependency
-and include the https://github.com/lettuce-io/lettuce-core/[Lettuce] one instead. Spring
-Boot manages that dependency to help make this process as easy as possible.
+and include the https://github.com/lettuce-io/lettuce-core/[Lettuce] one instead. You also
+need `commons-pool2`. Spring Boot manages these dependencies to help make this process as
+easy as possible.
Example in Maven:
@@ -3102,6 +3103,10 @@ Example in Maven:
io.lettuce
lettuce-core
+
+ org.apache.commons
+ commons-pool2
+
----
Example in Gradle:
@@ -3113,7 +3118,8 @@ Example in Gradle:
}
dependencies {
- compile("io.lettuce:lettuce-core:{lettuce.version}")
+ compile("io.lettuce:lettuce-core")
+ compile("org.apache.commons:commons-pool2")
// ...
}
----