RootCauseunvalidated
`@EnableWebSecurity` is a marker annotation — `@Configuration` and, therefore, `@Component`. Outcome: add `@EnableWebSecurity` annotation on your `SecurityConfig` class level.
7ae02efe-2316-4a67-8910-dd53dd4f1743
@EnableWebSecurity is a marker annotation — @Configuration and, therefore, @Component. Outcome: add @EnableWebSecurity annotation on your SecurityConfig class level.