Fixed servlet context listener error on Tomcat