getting exception: No bean named 'springSecurityFilterChain' is defined

后端 未结 5 1203
心在旅途
心在旅途 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:46

    In case it helps anyone, I had renamed one of my packages but Eclipse doesn't auto-update your @ComponentScan paths, so make sure you change that too:

    @ComponentScan(basePackages = "com.package.spring")
    

提交回复
热议问题