servletContext.addListener(new ContextLoaderListener(context)); 之后应该已经创建了spring web 容器 并添加到了servletcontext上下文中 可是 为什么servletContext.getAttribute(WebApplicationContext.ROOT_WEB_APPLICATION_CONTEXT_ATTRIBUTE); 得到的却是空值??
https://www.cnblogs.com/gulingjingguai/p/7689585.html