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