Fixing dependency issues due to injection of javax.servlet.