getting exception: No bean named 'springSecurityFilterChain' is defined

后端 未结 5 1198
心在旅途
心在旅途 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 10:47

    As of Spring Security 5.2.1-SNAPSHOT, this error occurred to me when I hadn't declared the element in security XML configuration.

    I was trying a sample and I had configuration like

        
    
        
            
        
    
    

    I had to change it to add like below.

    
    
        
        
            
        
    
    

提交回复
热议问题