Eclipse - The import javax.servlet.http.HttpServletRequest cannot be resolved
Joined: Jun 04, 2009
I just switched to plain old Eclipse from MyEclipse for development, and my struts application was running great. But now I am getting this error "The import javax.servlet.http.HttpServletRequest cannot be resolved" over and over again but inconsistently. Sometimes my app runs with no problems and sometimes I get the error. A lot of times I can fix it by removing the project from the server and then adding it again within the Eclipse -> Server interface. It is an especially painful issue, becuase it is inconsistent.