getting exception: No bean named 'springSecurityFilterChain' is defined

后端 未结 5 1206
心在旅途
心在旅途 2020-11-28 10:28

I am learning spring security from reference material. release 3.1.2.RELEASE. As stated in that I have configured security:http tag like this

se

5条回答
  •  感动是毒
    2020-11-28 11:08

    add this your web.xml

    
        contextConfigLocation
        /WEB-INF/root-context.xml, /WEB-INF/spring-security.xml
    
    
    
    
        org.springframework.web.context.ContextLoaderListener
    
    
            
    
      springSecurityFilterChain
      org.springframework.web.filter.DelegatingFilterProxy
    
    
    
      springSecurityFilterChain
      /*
    
    

提交回复
热议问题