Consider defining a bean of type 'org.springframework.security.config.annotation.web.builders.HttpSecurity' in your configuration. - Library source does not match the bytecode for class HttpSecurity | OKKY Q&A