Deprecated ServletContextListener INJECTOR and getInjector
fixed deprecation warnings