diff --git a/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java b/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java index cb29b3a333..55d6b66a75 100644 --- a/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java +++ b/spring-boot/src/main/java/org/springframework/boot/context/web/ErrorPageFilter.java @@ -56,8 +56,8 @@ import org.springframework.web.filter.OncePerRequestFilter; */ @Component @Order(Ordered.HIGHEST_PRECEDENCE) -class ErrorPageFilter extends AbstractConfigurableEmbeddedServletContainer implements - Filter, NonEmbeddedServletContainerFactory { +public class ErrorPageFilter extends AbstractConfigurableEmbeddedServletContainer + implements Filter, NonEmbeddedServletContainerFactory { private static Log logger = LogFactory.getLog(ErrorPageFilter.class);