diff --git a/spring-boot-samples/spring-boot-sample-websocket-undertow/pom.xml b/spring-boot-samples/spring-boot-sample-websocket-undertow/pom.xml
index eef085f6e47..a3c2add6a05 100755
--- a/spring-boot-samples/spring-boot-sample-websocket-undertow/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-websocket-undertow/pom.xml
@@ -34,6 +34,10 @@
org.springframework.boot
spring-boot-starter-undertow
+
+ io.undertow
+ undertow-websockets-jsr
+
org.springframework.boot
spring-boot-starter-actuator