Solucionado (ver solução)
Solucionado
(ver solução)
1
resposta

Erro

Estou com esse erro, conseguem me ajudar?? Obrigado

Error starting ApplicationContext. To display the conditions report re-run your application with 'debug' enabled.
2020-09-11 13:42:44.646 ERROR 144 --- [  restartedMain] o.s.b.d.LoggingFailureAnalysisReporter   : 

***************************
APPLICATION FAILED TO START
***************************

Description:

Field athuManager in br.com.alura.forum.controller.AutenticacaoController required a bean of type 'org.springframework.security.authentication.AuthenticationManager' that could not be found.

The injection point has the following annotations:
    - @org.springframework.beans.factory.annotation.Autowired(required=true)


Action:

Consider defining a bean of type 'org.springframework.security.authentication.AuthenticationManager' in your configuration.

1 resposta
solução!

Oi Gabriel,

Verifica na sua classe SecurityConfigurations se tem esse método:

@Override
@Bean
protected AuthenticationManager authenticationManager() throws Exception {
    return super.authenticationManager();
}