webBuilder .addListener(org.apache.shiro.web.env.EnvironmentLoaderListener.class.getName()) .addFilter("ShiroFilter", org.apache.shiro.web.servlet.ShiroFilter.class.getName()) .addFilterInitParam("ShiroFilter", "configPath", "classpath:shiro.ini") shiro 仍然无法使用 No SecurityManager accessible to the calling code, either bound to the org.apache.shiro.util.ThreadContext or as a vm static singleton. This is an invalid application configuration.