Fixes #28854
Comment From: wilkinsona
@Artur- Thanks very much for making your first contribution to Spring Boot.
Comment From: mfusek
void destroy() should be also implemented. Now tomcat logs 13:25:18.075 [/xyz] {localhost-startStop-12} ERROR : Failed to destroy the filter named [errorPageSecurityFilter] of type [org.springframework.boot.web.servlet.filter.ErrorPageSecurityFilter] java.lang.AbstractMethodError: null at org.apache.catalina.core.ApplicationFilterConfig.release(ApplicationFilterConfig.java:312) at org.apache.catalina.core.StandardContext.filterStop(StandardContext.java:4642) at org.apache.catalina.core.StandardContext.stopInternal(StandardContext.java:5459) at org.apache.catalina.util.LifecycleBase.stop(LifecycleBase.java:257) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1443) at org.apache.catalina.core.ContainerBase$StopChild.call(ContainerBase.java:1432) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) at java.lang.Thread.run(Thread.java:750)
Comment From: wilkinsona
@mfusek https://github.com/spring-projects/spring-boot/issues/29558 has addressed that. Please upgrade to 2.6.4.