Cuando inicio la API la consola me muestra este mensaje:
APPLICATION FAILED TO START
Description:
Parameter 0 of method iniciarSesion in com.aluracursos.Challengue.Foro.Hub.controller.AutenticacionController required a bean of type 'com.aluracursos.Challengue.Foro.Hub.usuario.DatosAutenticacion' that could not be found.
The injection point has the following annotations:
- @org.springframework.web.bind.annotation.RequestBody(required=true)
- @jakarta.validation.Valid()
Action:
Consider defining a bean of type 'com.aluracursos.Challengue.Foro.Hub.usuario.DatosAutenticacion' in your configuration.
Process finished with exit code 0