Added the servlet JAR to the project. Adding it to the build path
resolves the random errors in the servlets.