The superclass "javax.servlet.http.HttpServlet" was not found on the Java Build Path jsp开始页面有红叉

没有配置tomcat

在出现此错误的项目上单击鼠标右键》Build Path》Configure Build Path

 

添加成功

原文地址:https://www.cnblogs.com/19322li/p/11093413.html