2020-10-12 19:36:27.912 ERROR 64461 --- [nio-8080-exec-3] s.e.ErrorMvcAutoConfiguration$StaticView : Cannot render error page for request [/api/pedidos/aguardando] and exception [Could not write JSON: Infinite recursion (StackOverflowError); nested exception is com.fasterxml.jackson.databind.JsonMappingException: Infinite recursion (StackOverflowError) (through reference chain: br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.model.User$HibernateProxy$r6kmFZ1Y["pedidos"]->org.hibernate.collection.internal.PersistentBag[0]->br.com.alura.mvc.mudi.model.Pedido["user"]->br.com.alura.mvc.mudi.mo
`