1, may web.xml file is not configured for ContextListener
2, web.xml file related to the configuration of ContextListener spelling problem the wrong word
such as
<listener> <listenter-class>listener.ContextListener</listenter-class> <listener>
here
<listenter-class>listener.ContextListener</listenter-class>
Inside listenter is misspelled ah. Led me to print it out in the server "web application initialization"