Javadoc of ServletContextInitializer states:
This interface is primarily designed to allow ServletContextInitializers to be managed by Spring and not the Servlet container.
This self-reference doesn't make sense. I'm not sure what the correct version would be. Probably "to allow WebApplicationInitializer"? Or maybe "to allow ServletContainerInitializer"?