diff --git a/src/main/java/org/jenkinsci/maven/plugins/hpi/RunMojo.java b/src/main/java/org/jenkinsci/maven/plugins/hpi/RunMojo.java index 7e8844f8ba..c4039d0f1c 100644 --- a/src/main/java/org/jenkinsci/maven/plugins/hpi/RunMojo.java +++ b/src/main/java/org/jenkinsci/maven/plugins/hpi/RunMojo.java @@ -93,6 +93,7 @@ import org.eclipse.jetty.util.security.Password; import org.eclipse.jetty.webapp.WebAppClassLoader; import org.eclipse.jetty.webapp.WebAppContext; +import org.eclipse.jetty.websocket.server.config.JettyWebSocketServletContainerInitializer; import org.twdata.maven.mojoexecutor.MojoExecutor; import sun.misc.Unsafe; @@ -624,6 +625,7 @@ public void configureWebApp() throws Exception { } } } + JettyWebSocketServletContainerInitializer.configure(getWebAppConfig(), null); HashLoginService hashLoginService = (new HashLoginService("default")); UserStore userStore = new UserStore(); hashLoginService.setUserStore(userStore);