ContextLoaderListener错误


在web.xml中添加如下配置

    <context-param>
        <param-name>contextConfigLocation</param-name>
        <param-value>classpath:spring-security.xml</param-value>
    </context-param>
    <listener>
        <listener-class>
            org.springframework.web.context.ContextLoaderListener
        </listener-class>
    </listener>
原文地址:https://www.cnblogs.com/tangjian07/p/11964832.html