From 7791282270c350d7efeede3049a39ac778d9e268 Mon Sep 17 00:00:00 2001 From: kwoyke Date: Wed, 29 Jan 2020 07:12:34 +0100 Subject: [PATCH] BAEL-3797: Remove XML config from the Http Message Converters with the Spring Framework (#8627) --- .../java/com/baeldung/spring/WebConfig.java | 2 - .../main/resources/WEB-INF/api-servlet.xml | 41 ------------------- 2 files changed, 43 deletions(-) delete mode 100644 spring-boot-rest/src/main/resources/WEB-INF/api-servlet.xml diff --git a/spring-boot-rest/src/main/java/com/baeldung/spring/WebConfig.java b/spring-boot-rest/src/main/java/com/baeldung/spring/WebConfig.java index ab16b61e1d..13a9933fa6 100644 --- a/spring-boot-rest/src/main/java/com/baeldung/spring/WebConfig.java +++ b/spring-boot-rest/src/main/java/com/baeldung/spring/WebConfig.java @@ -14,8 +14,6 @@ import org.springframework.web.filter.ShallowEtagHeaderFilter; import org.springframework.web.servlet.config.annotation.WebMvcConfigurer; @Configuration -// If we want to enable xml configurations for message-converter: -// @ImportResource("classpath:WEB-INF/api-servlet.xml") public class WebConfig implements WebMvcConfigurer { // @Override diff --git a/spring-boot-rest/src/main/resources/WEB-INF/api-servlet.xml b/spring-boot-rest/src/main/resources/WEB-INF/api-servlet.xml deleted file mode 100644 index 78e38e1448..0000000000 --- a/spring-boot-rest/src/main/resources/WEB-INF/api-servlet.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -