From f0b76723223e4e3a1dabef20b6d0945c726fa500 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=98=BF=E7=94=B7?= Date: Sun, 15 Dec 2024 17:09:49 +0800 Subject: [PATCH] WFLY-19950 The Spring Resteasy quickstart logs a warnings on the OpenShift --- .../src/main/webapp/WEB-INF/jboss-deployment-structure.xml | 5 ----- spring-resteasy/src/main/webapp/WEB-INF/web.xml | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/spring-resteasy/src/main/webapp/WEB-INF/jboss-deployment-structure.xml b/spring-resteasy/src/main/webapp/WEB-INF/jboss-deployment-structure.xml index 85037d06d0..f8293b4844 100644 --- a/spring-resteasy/src/main/webapp/WEB-INF/jboss-deployment-structure.xml +++ b/spring-resteasy/src/main/webapp/WEB-INF/jboss-deployment-structure.xml @@ -3,12 +3,7 @@ - - - - - \ No newline at end of file diff --git a/spring-resteasy/src/main/webapp/WEB-INF/web.xml b/spring-resteasy/src/main/webapp/WEB-INF/web.xml index 4100573fd4..6c1a267f18 100644 --- a/spring-resteasy/src/main/webapp/WEB-INF/web.xml +++ b/spring-resteasy/src/main/webapp/WEB-INF/web.xml @@ -22,6 +22,11 @@ Archetype Created Web Application + + resteasy.preferJacksonOverJsonB + true + + org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap