From 6b0274272881a795b78e5cf74040828927db543c Mon Sep 17 00:00:00 2001 From: Seun Matt Date: Thu, 5 Apr 2018 01:27:37 +0100 Subject: [PATCH] updated properties file for example --- .../src/main/resources/application-errorhandling.properties | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spring-boot/src/main/resources/application-errorhandling.properties b/spring-boot/src/main/resources/application-errorhandling.properties index 484a1758d3..668ac9ae17 100644 --- a/spring-boot/src/main/resources/application-errorhandling.properties +++ b/spring-boot/src/main/resources/application-errorhandling.properties @@ -3,6 +3,10 @@ server.port=9000 server.servlet-path=/ server.context-path=/ #server.error.whitelabel.enabled=false + +spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.web.ErrorMvcAutoConfiguration + +#for Spring Boot 2.0+ #spring.autoconfigure.exclude=org.springframework.boot.autoconfigure.web.servlet.error.ErrorMvcAutoConfiguration #freemarker