Eclipse导入项目提示报错:HttpServlet cannot be resolved to a type Idea导入项目此类报错请参考:https://blog.csdn.net/lihua5419/article/details/94741500 右键项目如下图所示: