Error creating bean with name 'springSecurityFilterChain'

后端 未结 2 414
星月不相逢
星月不相逢 2021-01-17 07:33

I have been following the Spring Security Reference and i added only this classes:

@Configuration
@EnableWebMvcSecurity
public class WebSecurityConfig extend         


        
2条回答
  •  误落风尘
    2021-01-17 07:59

    I had the same problem. I fixed it deleting http.antMatchers("").The problem was "" - SpringSecurityFilterChain throws an error, because pattern could not be empty or null.

提交回复
热议问题