ServletContext servletContext = this.pageContext.getServletContext();
WebApplicationContext wac = WebApplicationContextUtils.getWebApplicationContext(servletContext);
RolePowService rolePowService = (RolePowService) wac.getBean("rolePowService");
出错No bean named 'rolePowService' is defined
求大神指导一下