Olá, após a aplicação dos conhecimentos na aula de interceptadores ocorre um erro na aplicação e a página de ofertas não é renderizada.
Segue o erro que aparece no console:
4-20 02:02:58.108 WARN 11012 --- [nio-8080-exec-2] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: could not initialize proxy [br.com.alura.mvc.mudi.model.User#user] - no Session; nested exception is com.fasterxml.jackson.databind.JsonMappingException: could not initialize proxy [br.com.alura.mvc.mudi.model.User#user] - no Session (through reference chain: java.util.ArrayList[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$Hht774eo["password"])] 2022-04-20 02:02:59.179 WARN 11012 --- [nio-8080-exec-1] .w.s.m.s.DefaultHandlerExceptionResolver : Resolved [org.springframework.http.converter.HttpMessageNotWritableException: Could not write JSON: could not initialize proxy [br.com.alura.mvc.mudi.model.User#user] - no Session; nested exception is com.fasterxml.jackson.databind.JsonMappingException: could not initialize proxy [br.com.alura.mvc.mudi.model.User#user] - no Session (through reference chain: java.util.ArrayList[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$Hht774eo["password"])]
Alguém pegou isso tbm ?