【发布时间】:2014-05-10 00:47:39
【问题描述】:
这是我的 web.xml 文件中的一个 sn-p
<filter>
<filter-name>springSecurityFilterChain</filter-name>
<filter-class>
org.springframework.web.filter.DelegatingFilterProxy
</filter-class>
</filter>
<filter-mapping>
<filter-name>springSecurityFilterChain</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
ERROR - SEVERE: Exception starting filter springSecurityFilterChain
org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'springSecurityFilterChain' is defined
NO IDEA - 为什么它没有被调用。
【问题讨论】:
-
您能否提供您正在使用的整个 web.xml 以及您所包含的 Spring 配置文件?
-
您能否分享您的电子邮件ID,我想在堆栈溢出时很难分享。谢谢。
-
最好把它放在 pastebin 中以便其他用户也能看到它
标签: spring spring-security spring-bean