From 0ce38060ed9de03a37a639c93980c09f2eff66f9 Mon Sep 17 00:00:00 2001 From: visoulier Date: Wed, 28 Feb 2024 03:56:23 +0100 Subject: [PATCH] =?UTF-8?q?erreur=20si=20donn=C3=A9es=20non=20attendu=20lo?= =?UTF-8?q?rs=20de=20la=20serialisation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SpringBootProject/src/main/resources/application.properties | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SpringBootProject/src/main/resources/application.properties b/SpringBootProject/src/main/resources/application.properties index 0e56643..c4b074e 100644 --- a/SpringBootProject/src/main/resources/application.properties +++ b/SpringBootProject/src/main/resources/application.properties @@ -6,4 +6,5 @@ spring.sql.init.mode=always spring.sql.init.schema-locations=classpath:schema.sql spring.jackson.serialization.indent_output = true server.error.include-message=always -spring.jpa.open-in-view=false \ No newline at end of file +spring.jpa.open-in-view=false +spring.jackson.deserialization.FAIL_ON_UNKNOWN_PROPERTIES=true \ No newline at end of file