@@ -0,0 +1,960 @@
+package %3C%25= packageName %25%3E.security;%0A%0Aimport org.springframework.security.core.Authentication;%0Aimport org.springframework.security.web.authentication.AbstractAuthenticationTargetUrlRequestHandler;%0Aimport org.springframework.security.web.authentication.logout.LogoutSuccessHandler;%0Aimport org.springframework.stereotype.Component;%0A%0Aimport javax.servlet.ServletException;%0Aimport javax.servlet.http.HttpServletRequest;%0Aimport javax.servlet.http.HttpServletResponse;%0Aimport java.io.IOException;%0A%0A/**%0A * Spring Security logout handler, specialized for Ajax requests.%0A */%0A@Component%0Apublic class AjaxLogoutSuccessHandler extends AbstractAuthenticationTargetUrlRequestHandler%0A    implements LogoutSuccessHandler %7B%0A%0A    @Override%0A    public void onLogoutSuccess(HttpServletRequest request, HttpServletResponse response,%0A        Authentication authentication)%0A        throws IOException, ServletException %7B%0A        response.setStatus(HttpServletResponse.SC_OK);%0A    %7D%0A%7D

fix compile Added AjaxLogoutSuccessHandler