It may be that the package configuration of the listener is wrong
Wrong package
org.springframework.web.context.ContextCleanupListener
Correct package
org.springframework.web.context.ContextLoaderListener
It may be that the package configuration of the listener is wrong
Wrong package
org.springframework.web.context.ContextCleanupListener
Correct package
org.springframework.web.context.ContextLoaderListener