Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ErrorPageSecurityFilter prevents Spring Boot 2.6.1 from starting up under Tomcat 8.5 #29135

Closed
KnightosMaster opened this issue Dec 20, 2021 · 1 comment
Labels
status: duplicate A duplicate of another issue

Comments

@KnightosMaster
Copy link

KnightosMaster commented Dec 20, 2021

After upgrading to Spring Boot 2.6.1, the application no longer starts when deployed to Tomcat 8.5, with the following error:
org.apache.catalina.core.StandardContext.filterStart Exception starting filter errorPageSecurityFilter java.lang.AbstractMethodError.

I have dug around, and discovered that Tomcat 9+ provides a default implementation for the Filter interface's init() and destroy() methods, while 8.5 does not, thus causing the issue. Please provide an implementation for these methods, so it can remain compatible with Tomcat 8.5.

Thank you for your hard work!

@spring-projects-issues spring-projects-issues added the status: waiting-for-triage An issue we've not yet triaged label Dec 20, 2021
@snicoll
Copy link
Member

snicoll commented Dec 20, 2021

Thanks for the report, this is a duplicate of #28902

@snicoll snicoll closed this as completed Dec 20, 2021
@snicoll snicoll added status: duplicate A duplicate of another issue and removed status: waiting-for-triage An issue we've not yet triaged labels Dec 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: duplicate A duplicate of another issue
Projects
None yet
Development

No branches or pull requests

3 participants