The import javax.servlet.jsp.JspWriter cannot be resolved' error Add servlet-api.jar and jsp-api.jar from Tomcat 6.0 library to ecipse project.