myeclipse2014 The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path
导入一个项目所有jsp文件提示 The superclass “javax.servlet.http.HttpServlet” was not found on the Java Build Path,百度查了一圈是说Tomcat没有配置好的缘故,查了下发现自己的myeclipse里并没有Server Runtime的选项,谨慎起见细细查了下功能发现其实可以解决,步骤如下:
1、右键项目点击如图选项
2、第二步
3、第三步
最后就是选中你要添加的tomact版本了,不要用myeclipse自带的,配置完之后如果红叉子若还在不用紧张,重新保存下红叉就没了