diff --git a/spring-boot-samples/spring-boot-sample-atmosphere/pom.xml b/spring-boot-samples/spring-boot-sample-atmosphere/pom.xml
index b0caee31d15..c6fc59c8ce9 100644
--- a/spring-boot-samples/spring-boot-sample-atmosphere/pom.xml
+++ b/spring-boot-samples/spring-boot-sample-atmosphere/pom.xml
@@ -32,12 +32,12 @@
org.atmosphere
atmosphere-runtime
- 2.2.4
+ 2.4.14
org.webjars
atmosphere-javascript
- 2.2.3
+ 2.3.4
diff --git a/spring-boot-samples/spring-boot-sample-atmosphere/src/main/java/sample/atmosphere/SampleAtmosphereApplication.java b/spring-boot-samples/spring-boot-sample-atmosphere/src/main/java/sample/atmosphere/SampleAtmosphereApplication.java
index 7f4aac1c4ce..aac4c108eb4 100644
--- a/spring-boot-samples/spring-boot-sample-atmosphere/src/main/java/sample/atmosphere/SampleAtmosphereApplication.java
+++ b/spring-boot-samples/spring-boot-sample-atmosphere/src/main/java/sample/atmosphere/SampleAtmosphereApplication.java
@@ -21,8 +21,8 @@ import java.util.Collections;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
-import org.atmosphere.cpr.AtmosphereInitializer;
import org.atmosphere.cpr.AtmosphereServlet;
+import org.atmosphere.cpr.ContainerInitializer;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.SpringBootConfiguration;
@@ -69,7 +69,7 @@ public class SampleAtmosphereApplication {
}
- private static class EmbeddedAtmosphereInitializer extends AtmosphereInitializer
+ private static class EmbeddedAtmosphereInitializer extends ContainerInitializer
implements ServletContextInitializer {
@Override