Após configurar o Spring Security ao enviar qualquer requisição para a API retorna o erro mensionado abaixo:
{
"timestamp": "2023-02-24T17:23:45.838+00:00",
"status": 404,
"error": "Not Found",
"message": "No message available",
"path": "/paciente"
}
Console após qualquer requisição:
2023-02-24T14:36:28.866-03:00 INFO 8336 --- [nio-8080-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet'
2023-02-24T14:36:28.866-03:00 INFO 8336 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet'
2023-02-24T14:36:28.868-03:00 INFO 8336 --- [nio-8080-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 1 ms