Status 400 and Error deserializing List of Objects. No default constructor found
问题 I have this Spring Repository: public interface MessageRepository extends CrudRepository<MessageObject, String>{ public List<MessageObject> findByEmisorOrDestinatario(String emisor, String destinatario); } My DAO is: @Entity @Table(name = "messages") public class MessageObject implements Serializable{ private static final long serialVersionUID = 1L; @Id private String id; private String emisor; private String destinatario; private String mensaje; private String tipo; @JsonFormat(pattern="yyyy